Skip to content

Commit 3213cd5

Browse files
committed
see #20522 see #21005 - Allow security manager via sysproperty (only for Java 17 and above)
git-svn-id: https://josm.openstreetmap.de/svn/trunk@18348 0c6e7542-c601-0410-84e7-c038aed88b3b
1 parent 626e95f commit 3213cd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ Build-Date: ${build.tstamp}
486486
<sysproperty key="josm.home" value="${test.dir}/config/@{testfamily}-josm.home"/>
487487
<sysproperty key="josm.test.data" value="${test.dir}/data"/>
488488
<sysproperty key="java.awt.headless" value="${test.headless}"/>
489-
<sysproperty key="java.security.manager" value="allow"/>
489+
<sysproperty key="java.security.manager" value="allow" if:set="isJava17" />
490490
<sysproperty key="glass.platform" value="Monocle"/>
491491
<sysproperty key="monocle.platform" value="Headless"/>
492492
<sysproperty key="prism.order" value="sw"/>

0 commit comments

Comments
 (0)