[crac] RFR: 8371549: [CRaC] Implement C/R in Selector on non-Linux [v5]

Radim Vansa rvansa at openjdk.org
Fri Jan 9 12:09:29 UTC 2026


On Fri, 9 Jan 2026 10:49:53 GMT, Radim Vansa <rvansa at openjdk.org> wrote:

>> Historically we have an extensive set of tests for java.nio.channels.Selector. However this runs only on Linux (using CRIU) rather than being platform agnostic and tested on all platforms. On Linux, it does not exercise PollSelectorImpl (this can be preferred using a system property) either - just the default EpollSelectorImpl.
>> 
>> This PR enables testing on all available Selector implementations, cleans up the implementation of those tests and introduces the C/R implementations.
>
> Radim Vansa has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Test PollSelector on all unix platforms

Failure in `JdwpTransportTest` is unrelated.

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

PR Comment: https://git.openjdk.org/crac/pull/276#issuecomment-3728645959


More information about the crac-dev mailing list