langtools/src/share/classes/com/sun/tools/javac/comp/Resolve.java
changeset 18389 a425d0819f36
parent 18378 00267721fe3a
child 18646 e628560a86d1
--- 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);
                     }
                 }