-
Notifications
You must be signed in to change notification settings - Fork 139
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
seems there be some thread executor in this repo be handling IO related things, looks like they should benifit from changing to virtual thread(loom) when using on newer jdk (19+)
New feature, improvement proposal
- add something like
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version> <!-- Use a version that supports multi-release -->
<executions>
<execution>
<id>default-compile</id>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<release>8</release> <!-- Base version -->
</configuration>
</execution>
<execution>
<id>java9-compile</id>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<release>19</release>
<source>19</source>
<target>19</target>
<multiReleaseOutput>true</multiReleaseOutput>
<outputDirectory>${project.build.outputDirectory}/META-INF/versions/9</outputDirectory>
<includes>
<include>path/to/java19/specific/classes/**</include>
</includes>
</configuration>
</execution>
<!-- Add more executions for other Java versions as needed -->
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<archive>
<manifestEntries>
<Multi-Release>true</Multi-Release>
</manifestEntries>
</archive>
</configuration>
</plugin>
then modify the jdk19 version of that classes
then make ci use jdk21 to compile
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request