RFR: 8373935: Migrate java/lang/invoke tests away from TestNG [v3]
Chen Liang
liach at openjdk.org
Fri Jan 23 16:58:48 UTC 2026
On Fri, 23 Jan 2026 16:37:30 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
>> Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 12 commits:
>>
>> - Another round of copyright year update
>> - Various bugs
>> - assertInstanceOf
>> - loop test review, test instance cleanup
>> - Use static imports
>> - Merge branch 'master' of https://github.com/openjdk/jdk into cleanup/invoke-junit
>> - Merge branch 'master' of https://github.com/openjdk/jdk into cleanup/invoke-junit
>> - Review
>> - Some omissions
>> - Whitespace
>> - ... and 2 more: https://git.openjdk.org/jdk/compare/aaca0a2c...b152f7ca
>
> test/jdk/java/lang/invoke/MethodHandleProxies/Driver.java line 29:
>
>> 27: * @build m1/* m2/* Unnamed
>> 28: * @run junit/othervm m1/p1.Main
>> 29: * @run junit/othervm Unnamed
>
> Is this still correct in combination with the changes from https://github.com/openjdk/jdk/pull/29330?
Yes, I changed the main method in `Unnamed.java` to a junit `@Test` instance method. See https://github.com/openjdk/jdk/pull/28879/files#diff-62821ee0b2327e683a8010d2dff7db40e9552b3f5a4a7403f8b69e0ba38873e9
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28879#discussion_r2722073533
More information about the core-libs-dev
mailing list