On Fri, 7 Aug 2026 11:53:11 GMT, Jaikiran Pai <[email protected]> wrote:

>> Shiv Shah has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Remove bug id from comment and always initialize sectionIds
>
> test/failure_handler/test/unit/jdk/test/failurehandler/HtmlSectionTest.java 
> line 27:
> 
>> 25: 
>> 26: import org.junit.Assert;
>> 27: import org.junit.Test;
> 
> This looks like an outdated version of JUnit. Several parts of the JDK use 
> JUnit 5 (through jtreg). I don't see any jtreg test tag definitions on this 
> test either. How are these failure handler tests launched?

the unit tests in this dir don’t have jtreg headers, the existing ones like 
DefaultParserTest are plain junit 4, so I matched that. the failure handler 
builds into the test image, and there’s a manual test-failure-handler make 
target that runs jtreg over test/failure_handler/test with the built jar as the 
timeout handler and that covers the sanity tests but skips these unit classes 
since they have no @test tags, so they’re run manually. I ran them directly 
with junit 4.13.2 and they pass

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

PR Review Comment: https://git.openjdk.org/jdk/pull/32157#discussion_r3736539726

Reply via email to