shoothzj opened a new pull request, #4309:
URL: https://github.com/apache/bookkeeper/pull/4309

   ### Motivation
   
   As of JDK 21, the methods `suspend` and `resume` on the `Thread` class throw 
`UnsupportedOperationException`.
   
   ### Changes
   
   1. Added junit5 annotation `@EnabledForJreRange(max = JRE.JAVA_17)`(It's 
modern and better than junit4) to tests that use `suspend` and `resume`, 
effectively disabling these tests on JDK versions higher than 17 where these 
methods are not supported.
   2. Migrate this test file to junit5
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to