Skip to content

Commit ea87cc1

Browse files
committed
Ensure builds under Java 21 will still work with Security Manager
1 parent 9c9234a commit ea87cc1

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1449,5 +1449,15 @@
14491449
<javadoc.options>-Xdoclint:none</javadoc.options>
14501450
</properties>
14511451
</profile>
1452+
1453+
<profile>
1454+
<id>allow-securitymanager</id>
1455+
<activation>
1456+
<jdk>[18,23]</jdk>
1457+
</activation>
1458+
<properties>
1459+
<maven.surefire.allow.securitymanager>-Djava.security.manager=allow</maven.surefire.allow.securitymanager>
1460+
</properties>
1461+
</profile>
14521462
</profiles>
14531463
</project>

0 commit comments

Comments
 (0)