Merge pull request #1992 from nosqlbench/jdk21_enable_preview

Enable java 21 preview features
This commit is contained in:
Jonathan Shook 2024-07-26 12:03:37 -05:00 committed by GitHub
commit 07ee4bc7aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -546,6 +546,7 @@
<source>21</source>
<release>21</release>
<compilerArgs>
<arg>--enable-preview</arg>
<!-- <compilerArg>-Xdoclint:all</compilerArg>-->
<!-- <compilerArg>-Xlint:all</compilerArg>-->
</compilerArgs>
@ -556,7 +557,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>-ea @{argLine}</argLine>
<!-- <argLine>-ea @{argLine}</argLine> -->
<argLine>--enable-preview @{argLine}</argLine>
<systemPropertyVariables>
<Log4jContextSelector>
org.apache.logging.log4j.core.async.AsyncLoggerContextSelector