diff -r 2f2ead61db06 -r 7b99f98b3035 src/share/classes/com/sun/tools/javac/comp/Resolve.java --- a/src/share/classes/com/sun/tools/javac/comp/Resolve.java Mon Dec 13 14:08:01 2010 -0800 +++ b/src/share/classes/com/sun/tools/javac/comp/Resolve.java Mon Dec 13 15:11:00 2010 -0800 @@ -815,13 +815,13 @@ } //where private boolean signatureMoreSpecific(Env env, Type site, Symbol m1, Symbol m2, boolean allowBoxing, boolean useVarargs) { + noteWarner.clear(); Type mtype1 = types.memberType(site, adjustVarargs(m1, m2, useVarargs)); - noteWarner.unchecked = false; return (instantiate(env, site, adjustVarargs(m2, m1, useVarargs), types.lowerBoundArgtypes(mtype1), null, allowBoxing, false, noteWarner) != null || useVarargs && instantiate(env, site, adjustVarargs(m2, m1, useVarargs), types.lowerBoundArgtypes(mtype1), null, allowBoxing, true, noteWarner) != null) && - !noteWarner.unchecked; + !noteWarner.hasLint(Lint.LintCategory.UNCHECKED); } //where private Symbol adjustVarargs(Symbol to, Symbol from, boolean useVarargs) {