mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
Merge pull request #1992 from nosqlbench/jdk21_enable_preview
Enable java 21 preview features
This commit is contained in:
commit
07ee4bc7aa
@ -546,6 +546,7 @@
|
|||||||
<source>21</source>
|
<source>21</source>
|
||||||
<release>21</release>
|
<release>21</release>
|
||||||
<compilerArgs>
|
<compilerArgs>
|
||||||
|
<arg>--enable-preview</arg>
|
||||||
<!-- <compilerArg>-Xdoclint:all</compilerArg>-->
|
<!-- <compilerArg>-Xdoclint:all</compilerArg>-->
|
||||||
<!-- <compilerArg>-Xlint:all</compilerArg>-->
|
<!-- <compilerArg>-Xlint:all</compilerArg>-->
|
||||||
</compilerArgs>
|
</compilerArgs>
|
||||||
@ -556,7 +557,8 @@
|
|||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<argLine>-ea @{argLine}</argLine>
|
<!-- <argLine>-ea @{argLine}</argLine> -->
|
||||||
|
<argLine>--enable-preview @{argLine}</argLine>
|
||||||
<systemPropertyVariables>
|
<systemPropertyVariables>
|
||||||
<Log4jContextSelector>
|
<Log4jContextSelector>
|
||||||
org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
|
org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
|
||||||
|
Loading…
Reference in New Issue
Block a user