You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Matějček (Jira)" <ji...@apache.org> on 2022/04/25 07:36:00 UTC
[jira] [Updated] (FELIX-6522) Empty name is not allowed in JDK17+
[ https://issues.apache.org/jira/browse/FELIX-6522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Matějček updated FELIX-6522:
----------------------------------
Labels: patch-available (was: )
> 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
> Priority: Blocker
> Labels: patch-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)