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
  • Loading branch information
jkosternl committed Mar 25, 2024
1 parent 1ffc324 commit b1f247e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -712,8 +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}"/>
<!-- Fixes classloading issue, see https://github.com/wearefrank/frank-runner/pull/86 -->
<jvmarg value="--add-opens=java.base/java.lang=ALL-UNNAMED"/>
<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 b1f247e

Please sign in to comment.