summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2023-08-06 14:06:18 +0200
committerFlorian Schmaus <flow@gentoo.org>2023-09-11 14:32:30 +0200
commitb3a1b7057636ddbcc8a3cbf29849738050678394 (patch)
tree48500d088e30922bf102c3a20bd027b305d4a448 /net-p2p/freenet
parentdev-java/java-service-wrapper: do not directly call java-run-tool (diff)
downloadgentoo-b3a1b7057636ddbcc8a3cbf29849738050678394.tar.gz
gentoo-b3a1b7057636ddbcc8a3cbf29849738050678394.tar.bz2
gentoo-b3a1b7057636ddbcc8a3cbf29849738050678394.zip
net-p2p/freenet: avoid unrecognized VM option 'MaxPermSize=1024M'
MaxPermSize was removed in an earlier version and this option was causing an error with Java 17: ERROR | wrapper | JVM exited while loading the application. INFO | jvm 1 | Unrecognized VM option 'MaxPermSize=1024M' INFO | jvm 1 | Error: Could not create the Java Virtual Machine. Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/30702 Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'net-p2p/freenet')
-rw-r--r--net-p2p/freenet/files/freenet-0.7.5_p1497-wrapper.conf (renamed from net-p2p/freenet/files/freenet-0.7.5_p1491-wrapper.conf)2
1 files changed, 0 insertions, 2 deletions
diff --git a/net-p2p/freenet/files/freenet-0.7.5_p1491-wrapper.conf b/net-p2p/freenet/files/freenet-0.7.5_p1497-wrapper.conf
index 61bbf6f40bfb..d69cb254e6a1 100644
--- a/net-p2p/freenet/files/freenet-0.7.5_p1491-wrapper.conf
+++ b/net-p2p/freenet/files/freenet-0.7.5_p1497-wrapper.conf
@@ -7,8 +7,6 @@ wrapper.java.maxmemory=1024
wrapper.java.additional.1=-Dnetworkaddress.cache.ttl=0
wrapper.java.additional.2=-Dnetworkaddress.cache.negative.ttl=0
wrapper.java.additional.3=-enableassertions:freenet
-# You might want to set the following line if you have changed java.maxmemory
-wrapper.java.additional.4=-XX:MaxPermSize=1024M
# Required since JNA 5.0.0, which changed the default JNI library search path
# https://github.com/java-native-access/jna/issues/384
wrapper.java.additional.5=-Djna.nosys=false