# HG changeset patch # User vromero # Date 1441733804 25200 # Node ID 3059496164abfdd66b583b19c139634836140752 # Parent 5ba1a29a0eb01701c7342e8b323ecf6e8c2e35af 8132806: javac does a naive implementation of some incorporation steps Reviewed-by: jlahoda diff -r 5ba1a29a0eb0 -r 3059496164ab src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java --- 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);