[ https://issues.apache.org/jira/browse/FELIX-6522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17537028#comment-17537028 ]
Arjan Tijms commented on FELIX-6522: ------------------------------------ Sounds great, thank you so much! > Empty name is not allowed in JDK17+ > ----------------------------------- > > Key: FELIX-6522 > URL: https://issues.apache.org/jira/browse/FELIX-6522 > Project: Felix > Issue Type: Bug > Components: Framework > Affects Versions: framework-7.0.3 > Reporter: David Matějček > Assignee: Karl Pauls > Priority: Blocker > Labels: patch-available, pull-request-available > Fix For: framework-7.0.4 > > Original Estimate: 1h > Remaining Estimate: 1h > > h3. Bug > When GlassFish enables the SecurityManager, it is unable to start on JDK17 > and JDK18, because BundleWiringImpl throws IAE. > h3. 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. > h5. Minor note > The SecurityManager feature is now deprecated in JDK and marked for removal, > so there should be some plan for Felix soon. -- This message was sent by Atlassian Jira (v8.20.7#820007)