RFR: 8305104: Remove the old core reflection implementation [v2]

Chen Liang liach at openjdk.org
Thu Jun 8 01:39:50 UTC 2023


On Wed, 7 Jun 2023 22:02:57 GMT, Mandy Chung <mchung at openjdk.org> wrote:

>> JEP 416 integrated in JDK 18 and since then, only a couple minor issues has been reported.  Those issues were related with exception being thrown with invalid arguments.   We propose to remove the old core reflection implementation in JDK 22.  The `-Djdk.reflect.useDirectMethodHandle=false` workaround to revert to the old implementation will stop to work.
>
> Mandy Chung has updated the pull request incrementally with one additional commit since the last revision:
> 
>   fix merge issue

test/jdk/java/lang/reflect/Field/NegativeTest.java line 27:

> 25:  * @test
> 26:  * @bug 8277451
> 27:  * @run testng/othervm NegativeTest

Does this still need othervm if it doesn't set system properties?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/14371#discussion_r1222350708


More information about the hotspot-dev mailing list