The Copilot SDK for Java now ships a Multi-Release JAR to use Virtual Threads by default when running on JDK 25.
For 24 and older, it uses the ForkJoinPool.commonPool() , and also allows users to provide their own.
Changes in the commit below:
github.com/github/copil...
Bruno authored the core code with Copilot.
* feat(java): add JDK 25 default executor
Use a multi-release JAR to select virtual threads as the default internal executor on JDK 25+, while retaining...