Skip to content

Commit

Permalink
Set javatest.security.noSecurityManager=true if Java 18+
Browse files Browse the repository at this point in the history
  • Loading branch information
brideck committed Mar 14, 2022
1 parent eeb402d commit fb15a0d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/xml/ts.top.import.xml
Expand Up @@ -34,6 +34,11 @@
<import file="./ts.vehicles.xml"/>

<!-- PROPERTIES -->
<condition property="noSecurityManager" value="true">
<javaversion atleast="18"/>
</condition>
<property name="noSecurityManager" value="false"/>

<!-- Set the archives to deploy - default to wars-->
<target name="setup.archive.set">
<fileset dir="${dist.dir}/${pkg.dir}" id="deploy.vi.archive.set">
Expand Down Expand Up @@ -769,6 +774,7 @@
<sysproperty key="TZ" value="${tz}"/>
<sysproperty key="deliverable.class" value="${deliverable.class}"/>
<sysproperty key="common.apps.only" value="${common.apps.only}"/>
<sysproperty key="javatest.security.noSecurityManager" value="${noSecurityManager}"/>
<sysproperty key="harness.executeMode" value="${exec.mode}"/>
<sysproperty key="DEPLOY_DELAY_IN_MINUTES"
value="${deploy.delay.in.minutes}"/>
Expand Down

0 comments on commit fb15a0d

Please sign in to comment.