forked from i2p/i2p.i2p
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build: Suppress JNI warnings from Java 24 for CLI and i2psnark-standa…
…lone and add note to wrapper.config on how to do it there for normal runtime
- Loading branch information
Showing
4 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,6 +77,13 @@ wrapper.java.additional.1=-DloggerFilenameOverride=logs/[email protected] | |
wrapper.java.additional.2=-Di2p.dir.base="$INSTALL_PATH" | ||
wrapper.java.additional.2.stripquotes=TRUE | ||
|
||
# Suppress JNI warning in JRE 24+, and eventual restriction | ||
# See https://openjdk.org/jeps/472 | ||
# This will fail on JRE 11 or lower, works on JRE 17+ | ||
#wrapper.java.additional.3=--enable-native-access=ALL-UNNAMED | ||
# Alternative that _may_ work on all JRE versions: | ||
#set.JDK_JAVA_OPTIONS=--enable-native-access=ALL-UNNAMED | ||
|
||
# Prevent the JVM from exporting stats (and thereby causing hundreds of | ||
# ms long pauses during GC) | ||
# http://www.evanjones.ca/jvm-mmap-pause.html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters