changeset 32543:f60b1725a83f

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 f4e4f4c4f9f4
children 53dd47cb1688
files langtools/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/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);