8073594: javac, before calling rawInstantiate from selectBest the warner should be cleared out

Reviewed-by: jlahoda
This commit is contained in:
Vicente Romero 2015-09-08 11:59:25 -07:00
parent 0c3e27483f
commit 2169a5eefd

View File

@ -1436,6 +1436,7 @@ public class Resolve {
}
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);