--- a/langtools/src/share/classes/com/sun/tools/javac/comp/Resolve.java Tue Jun 11 09:59:34 2013 +0100
+++ b/langtools/src/share/classes/com/sun/tools/javac/comp/Resolve.java Fri Jun 14 16:25:09 2013 +0100
@@ -2267,7 +2267,7 @@
sym = super.access(env, pos, location, sym);
} else if (allowMethodHandles) {
MethodSymbol msym = (MethodSymbol)sym;
- if (msym.isSignaturePolymorphic(types)) {
+ if ((msym.flags() & SIGNATURE_POLYMORPHIC) != 0) {
return findPolymorphicSignatureInstance(env, sym, argtypes);
}
}