RFR: 8373935: Migrate java/lang/invoke tests away from TestNG [v2]

Chen Liang liach at openjdk.org
Wed Jan 7 18:03:40 UTC 2026


On Mon, 5 Jan 2026 14:21:29 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> Chen Liang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Some omissions
>
> test/jdk/java/lang/invoke/MethodHandleProxies/Unnamed.java line 46:
> 
>> 44:         // inaccessible interface
>> 45:         Method m = intf.getMethod("test");
>> 46:         assertFalse(m.canAccess(t));
> 
> This looks like a semantic change? Fixing an existing bug in the test?

Yes. I should extract this to a separate patch - this plus the `@run testng/othervm Unnamed` should be converted to `@run main/othervm Unnamed`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28879#discussion_r2669536316


More information about the core-libs-dev mailing list