RFR: 8285401: Proxy class initializer should use 3-arg `Class.forName` to avoid unnecessary class initialization [v2]
liach
duke at openjdk.java.net
Fri May 20 18:22:48 UTC 2022
On Fri, 20 May 2022 11:51:09 GMT, ExE Boss <duke at openjdk.java.net> wrote:
>> liach has updated the pull request incrementally with one additional commit since the last revision:
>>
>> remove unused field
>
> src/java.base/share/classes/java/lang/reflect/ProxyGenerator.java line 608:
>
>> 606: mv.visitMethodInsn(INVOKEVIRTUAL, JL_CLASS,
>> 607: "getClassLoader", "()" + LJL_CLASSLOADER, false);
>> 608: mv.visitVarInsn(ASTORE, 0);
>
> Shouldn’t this go before `mv.visitLabel(L_startBlock)`?
Done.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8800
More information about the core-libs-dev
mailing list