# HG changeset patch # User vromero # Date 1441733804 25200 # Node ID f60b1725a83fd1d92171cb7e33d342e7ed5698c5 # Parent f4e4f4c4f9f4896929452853d3373c2450f9d195 8132806: javac does a naive implementation of some incorporation steps Reviewed-by: jlahoda diff -r f4e4f4c4f9f4 -r f60b1725a83f langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java --- a/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java Fri Sep 04 13:24:15 2015 +0200 +++ b/langtools/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);