Skip to content

Commit b268754

Browse files
committed
Fix warning on latest JDK 24.ea
1 parent bb99857 commit b268754

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

apache-maven/src/assembly/shared/run

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ fi
1111
exec "$JAVACMD" \
1212
$MAVEN_OPTS \
1313
$MAVEN_DEBUG_OPTS \
14+
--enable-native-access=ALL-UNNAMED \
1415
-classpath "$LAUNCHER_JAR" \
1516
"-Dclassworlds.conf=$CLASSWORLDS_CONF" \
1617
"-Dmaven.home=$MAVEN_HOME" \

apache-maven/src/assembly/shared/run.cmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"%JAVACMD%" ^
22
%MAVEN_OPTS% ^
33
%MAVEN_DEBUG_OPTS% ^
4+
--enable-native-access=ALL-UNNAMED ^
45
-classpath %LAUNCHER_JAR% ^
56
"-Dclassworlds.conf=%CLASSWORLDS_CONF%" ^
67
"-Dmaven.home=%MAVEN_HOME%" ^

0 commit comments

Comments
 (0)