< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Items.java

Print this page
@@ -453,11 +453,11 @@
          void store() {
              code.emitop2(putstatic, member, PoolWriter::putMember);
          }
  
          Item invoke() {
-             MethodType mtype = (MethodType)member.erasure(types);
+             MethodType mtype = (MethodType)member.externalType(types); // static factories
              int rescode = Code.typecode(mtype.restype);
              code.emitInvokestatic(member, mtype);
              return stackItem[rescode];
          }
  
< prev index next >