glassfish icon indicating copy to clipboard operation
glassfish copied to clipboard

Remove policy files and their usages

Open dmatej opened this issue 7 months ago • 2 comments

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.

dmatej avatar May 24 '25 21:05 dmatej

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

Ariho-Seth avatar Jul 31 '25 23:07 Ariho-Seth

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

OndroMih avatar Aug 01 '25 05:08 OndroMih