Skip to content

Commit

Permalink
Add JVM-argument --add-opens to fix Reload Configurations classloadin…
Browse files Browse the repository at this point in the history
…g issue (#86)
  • Loading branch information
jkosternl committed Mar 25, 2024
1 parent 8061a20 commit 3761ce6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
/download
/wip
build.properties
/.idea/
.vscode/
1 change: 1 addition & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,7 @@
<property name="spawn" value="true"/>
<java jvm="${tomcat.java.jvm}" classname="org.apache.catalina.startup.Bootstrap" fork="true" failonerror="true" spawn="${spawn}" maxmemory="${maxmemory}" if:true="${use.java}">
<jvmarg value="-Dcatalina.home=${tomcat.dir}"/>
<jvmarg value="--add-opens=java.base/java.lang=ALL-UNNAMED"/><!-- Fixes classloading issue, see https://github.com/wearefrank/frank-runner/pull/86 -->
<arg value="${action}"/>
<classpath>
<fileset dir="${tomcat.dir}/bin"><include name="*.jar"/></fileset>
Expand Down

0 comments on commit 3761ce6

Please sign in to comment.