jdk/src/java.base/share/classes/java/lang/invoke/MemberName.java
changeset 44591 b9bf065070fe
parent 40272 6af4511ee5a4
child 44599 942f3546b679
--- a/jdk/src/java.base/share/classes/java/lang/invoke/MemberName.java	Tue Apr 11 11:24:12 2017 +0200
+++ b/jdk/src/java.base/share/classes/java/lang/invoke/MemberName.java	Tue Apr 11 18:57:46 2017 +0200
@@ -149,7 +149,7 @@
                 Object[] typeInfo = (Object[]) type;
                 Class<?>[] ptypes = (Class<?>[]) typeInfo[1];
                 Class<?> rtype = (Class<?>) typeInfo[0];
-                MethodType res = MethodType.methodType(rtype, ptypes);
+                MethodType res = MethodType.makeImpl(rtype, ptypes, true);
                 type = res;
             }
             // Make sure type is a MethodType for racing threads.