Skip to content

Commit

Permalink
fix: Update to JDK21 - EXO-71474 - Meeds-io/MIPs#91
Browse files Browse the repository at this point in the history
Remove SecurityManager from Kernel as it is deprecated for removal in jdk21
Remove also classes
- SecurityHelper
- PrivilegedSystemHelper
- PrivilegedFileHelper
- SecureList
- SecureSet
- SecureCollections

These classes are here only to use securityManager, and as it is removed, it is no more necessary

Resolves Meeds-io/MIPs#91
  • Loading branch information
rdenarie authored and exo-swf committed May 22, 2024
1 parent 70ff70c commit 58f5fc9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion exo.kernel.component.cache/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>@{argLine} @{surefire.argLine} -Djava.net.preferIPv4Stack=true</argLine>
<argLine>@{argLine} -Djava.net.preferIPv4Stack=true</argLine>
<systemProperties>
<!-- Avoid the firewall -->
<property>
Expand Down
2 changes: 1 addition & 1 deletion exo.kernel.component.common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>@{argLine} @{surefire.argLine} -Djava.net.preferIPv4Stack=true</argLine>
<argLine>@{argLine} -Djava.net.preferIPv4Stack=true</argLine>
<systemProperties>
<!-- Avoid the firewall -->
<property>
Expand Down
2 changes: 1 addition & 1 deletion exo.kernel.component.ext.cache.impl.infinispan.v8/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>@{argLine} @{surefire.argLine} -Djava.net.preferIPv4Stack=true</argLine>
<argLine>@{argLine} --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED -Djava.net.preferIPv4Stack=true</argLine>
<systemProperties>
<!-- Avoid the firewall -->
<property>
Expand Down

0 comments on commit 58f5fc9

Please sign in to comment.