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

Chen Liang liach at openjdk.org
Tue Jan 20 19:50:14 UTC 2026


On Wed, 17 Dec 2025 23:56:54 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/CompileThresholdBootstrapTest.java line 46:
> 
>> 44:     public static void main(String ... args) throws Throwable {
>> 45:         CompileThresholdBootstrapTest test = new CompileThresholdBootstrapTest();
>> 46:         test.testBootstrap();
> 
> Does this main method even do anything? Looks like it's not being run.

I know @cl4es loves to add main to small programs for easy profiling. Claes, do you think we should keep this main entrypoint for easy profiling?

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

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


More information about the core-libs-dev mailing list