Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
framework-7.0.3
-
Patch, Important
Description
Bug
When GlassFish enables the SecurityManager, it is unable to start on JDK17 and JDK18, because BundleWiringImpl throws IAE.
Cause
BasicPermission.init checks for an empty string since JDK17 (maybe earlier, but in JDK11 did not). Some capabilities return an empty string (I did not investigate which, I just saw the stacktrace in GlassFish). CapabilityPermission constructor then crashes.
Minor note
The SecurityManager feature is now deprecated in JDK and marked for removal, so there should be some plan for Felix soon.
Attachments
Issue Links
- links to