paulrutter commented on PR #419:
URL: https://github.com/apache/felix-dev/pull/419#issuecomment-2871074516

   > > With reflection we could support both pre and post java 21 versions. See
   > > 
https://github.com/apache/felix-dev/blob/54fd91efa7b59404e04f494a5bf9b3a3030c7198/http/jetty12/src/main/java/org/apache/felix/http/jetty/internal/JettyService.java#L284
   > 
   > Wondered how this should work. Reflective for the method i okay. But if 
jav 17 it will throw an exception. So how will it start?
   
   In the catch clause, one would just use a regular 
`ScheduledThreadPoolExecutor`.
   But let's not make it more complicated and stick with the current approach.


-- 
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: dev-unsubscr...@felix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to