< prev index next >

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

Print this page

        

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