mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-12 14:39:49 +00:00
8073594: javac, before calling rawInstantiate from selectBest the warner should be cleared out
Reviewed-by: jlahoda
This commit is contained in:
parent
0c3e27483f
commit
2169a5eefd
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user