Skip to content

Commit

Permalink
fix illegal reflection access (java17) #3
Browse files Browse the repository at this point in the history
  • Loading branch information
rkrenn committed Dec 16, 2024
1 parent 4d39434 commit 61c279b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/db/dbtool.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"%JAVA_HOME%\bin\java.exe" -DCTSMS_PROPERTIES="%CTSMS_PROPERTIES%" -DCTSMS_JAVA="%CTSMS_JAVA%" -Dfile.encoding=Cp1252 -Djava.awt.headless=true -classpath %CATALINA_HOME%\webapps\ctsms-web\WEB-INF\lib\ctsms-core-.7.0.jar;%CATALINA_HOME%\webapps\ctsms-web\WEB-INF\lib\* org.phoenixctms.ctsms.executable.DBTool %*
"%JAVA_HOME%\bin\java.exe" -DCTSMS_PROPERTIES="%CTSMS_PROPERTIES%" -DCTSMS_JAVA="%CTSMS_JAVA%" -Dfile.encoding=Cp1252 -Djava.awt.headless=true --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED -classpath %CATALINA_HOME%\webapps\ctsms-web\WEB-INF\lib\ctsms-core-.7.0.jar;%CATALINA_HOME%\webapps\ctsms-web\WEB-INF\lib\* org.phoenixctms.ctsms.executable.DBTool %*
2 changes: 1 addition & 1 deletion core/db/dbtool.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
CTSMS_PROPERTIES=${CTSMS_PROPERTIES:-/ctsms/properties}
CTSMS_JAVA=${CTSMS_JAVA:-/ctsms/java}
java -DCTSMS_PROPERTIES="$CTSMS_PROPERTIES" -DCTSMS_JAVA="$CTSMS_JAVA" -Dfile.encoding=Cp1252 -Djava.awt.headless=true -Xms2048m -Xmx4096m -Xss256k -XX:+UseParallelGC -XX:MaxGCPauseMillis=1500 -XX:GCTimeRatio=9 -XX:+CMSClassUnloadingEnabled -XX:ReservedCodeCacheSize=256m -classpath /ctsms/build/ctsms/web/target/ctsms-1.8.1/WEB-INF/lib/ctsms-core-1.8.1.jar:/ctsms/build/ctsms/web/target/ctsms-1.8.1/WEB-INF/lib/* org.phoenixctms.ctsms.executable.DBTool $*
java -DCTSMS_PROPERTIES="$CTSMS_PROPERTIES" -DCTSMS_JAVA="$CTSMS_JAVA" -Dfile.encoding=Cp1252 -Djava.awt.headless=true --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED -Xms2048m -Xmx4096m -Xss256k -XX:+UseParallelGC -XX:MaxGCPauseMillis=1500 -XX:GCTimeRatio=9 -XX:+CMSClassUnloadingEnabled -XX:ReservedCodeCacheSize=256m -classpath /ctsms/build/ctsms/web/target/ctsms-1.8.1/WEB-INF/lib/ctsms-core-1.8.1.jar:/ctsms/build/ctsms/web/target/ctsms-1.8.1/WEB-INF/lib/* org.phoenixctms.ctsms.executable.DBTool $*

0 comments on commit 61c279b

Please sign in to comment.