Mercurial > hg > jdk9-shenandoah > langtools
changeset 3023:3059496164ab
8132806: javac does a naive implementation of some incorporation steps
Reviewed-by: jlahoda
author | vromero |
---|---|
date | Tue, 08 Sep 2015 10:36:44 -0700 |
parents | 5ba1a29a0eb0 |
children | c14eb253bdd8 |
files | src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java Fri Sep 04 13:24:15 2015 +0200 +++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java Tue Sep 08 10:36:44 2015 -0700 @@ -1436,6 +1436,7 @@ } Assert.check(!sym.kind.isResolutionError()); try { + types.noWarnings.clear(); Type mt = rawInstantiate(env, site, sym, null, argtypes, typeargtypes, allowBoxing, useVarargs, types.noWarnings); currentResolutionContext.addApplicableCandidate(sym, mt);