diff -r 3ac205ad1f05 -r 22872b24d38c src/share/classes/com/sun/tools/javac/comp/Resolve.java --- a/src/share/classes/com/sun/tools/javac/comp/Resolve.java Tue Jun 16 10:46:16 2009 +0100 +++ b/src/share/classes/com/sun/tools/javac/comp/Resolve.java Tue Jun 16 10:46:37 2009 +0100 @@ -299,7 +299,7 @@ boolean allowBoxing, boolean useVarargs, Warner warn) - throws Infer.NoInstanceException { + throws Infer.InferenceException { if (useVarargs && (m.flags() & VARARGS) == 0) return null; Type mt = types.memberType(site, m); @@ -370,7 +370,7 @@ try { return rawInstantiate(env, site, m, argtypes, typeargtypes, allowBoxing, useVarargs, warn); - } catch (Infer.NoInstanceException ex) { + } catch (Infer.InferenceException ex) { return null; } } @@ -584,7 +584,7 @@ default: return bestSoFar; } } - } catch (Infer.NoInstanceException ex) { + } catch (Infer.InferenceException ex) { switch (bestSoFar.kind) { case ABSENT_MTH: return wrongMethod.setWrongSym(sym, ex.getDiagnostic());