On Mon, 16 Mar 2026 20:04:24 GMT, Alexey Ivanov <[email protected]> wrote:

>> Can I please get a review of this change which problem lists 
>> `java/nio/channels/SocketChannel/OpenLeak.java` and 
>> `java/nio/channels/SocketChannel/CloseDuringConnect.java tests on macos 26?
>> 
>> These 2 tests fail regularly (and contribute to failures) on macos 26. The 
>> underlying issue appears to be a bug in macos 26, for which an issue has 
>> been filed with Apple. Details are available in 
>> https://bugs.openjdk.org/browse/JDK-8375658.
>> 
>> I've verified that the problem listing correctly prevents these two tests 
>> from running on macos 26. I've also checked that the tests continue to 
>> execute (and pass) on other platforms. I'm waiting for a run to complete on 
>> macos 15.x to make sure these tests continue to run and pass there.
>
> test/jdk/ProblemList.txt line 573:
> 
>> 571: java/nio/channels/DatagramChannel/Promiscuous.java              8144003 
>> macosx-all
>> 572: java/nio/channels/SocketChannel/CloseDuringConnect.java         8375658 
>> macosx-26.0,macosx-26.1,macosx-26.2,macosx-26.3
>> 573: java/nio/channels/SocketChannel/OpenLeak.java                   8375658 
>> macosx-26.0,macosx-26.1,macosx-26.2,macosx-26.3
> 
> Does jtreg support problem-listing against a specific version of the OS? Is 
> it a new feature of jtreg?
> 
> I've always assumed the only possibilities were `-x64` and `-aarch64` as well 
> as `-all` to exclude in all architectures.

Hello Alexey, yes it does support OS version to be part of the platform 
specification. The FAQ here notes that detail 
https://openjdk.org/jtreg/faq.html#what-is-a-problemlist.txt-file. I haven't 
yet checked the jtreg code when this was introduced.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30162#discussion_r2943975172

Reply via email to