1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Description: add --enable-native-access to disable java warning
Java 25 adds native access warnings. Suppress command line
warnings.
Author: Vladimir Petko <vladimir.petko@canonical.com>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128174
Forwarded: no
Last-Update: 2026-02-17
--- a/bin/cdkcif2smiles
+++ b/bin/cdkcif2smiles
@@ -22,4 +22,4 @@
${JARPATH:+:${JARPATH}}\
${CLASSPATH:+:${CLASSPATH}}
-exec java -ea -cp ${CLASSPATH} ${BASENAME} ${1+"$@"}
+exec java --enable-native-access=ALL-UNNAMED -ea -cp ${CLASSPATH} ${BASENAME} ${1+"$@"}
|