glassfish
glassfish copied to clipboard
Remove policy files and their usages
Description
They are not supported on JDK24+ and are deprecated since JDK17.
-
client.policy -
*.security.policy -
security.policy - Any JVM options related:
java.security.policy.
Hello @dmatej, @OndroMih, I've worked on this issue. Please review the PR here https://github.com/eclipse-ee4j/glassfish/pull/25646 and let me know in case of any adjustments
Note that:
- Java 17 - deprecated Security Manager, still works as usual
- Java 24 - Security Manager disabled - cannot be enabled but apps still run
- Java 25 - Security Manager API still present, cannot be enabled, apps still run