[
https://issues.apache.org/jira/browse/FELIX-6035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16758228#comment-16758228
]
Colm O hEigeartaigh commented on FELIX-6035:
--------------------------------------------
Please backport to 5.x as well, as it's causing an issue with Karaf and Java
11.0.2:
* Caused by: java.lang.IllegalStateException: Unknown protocol: jrt
* at
org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:482)
* at
org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:474)
* at java.base/java.net.URL.toExternalForm(URL.java:1001)
* at java.base/java.net.URL.toString(URL.java:987)
> Allow urlhandlers to create urls for jrt protocol without an add-opens
> ----------------------------------------------------------------------
>
> Key: FELIX-6035
> URL: https://issues.apache.org/jira/browse/FELIX-6035
> Project: Felix
> Issue Type: Improvement
> Components: Framework
> Affects Versions: framework-6.0.1
> Reporter: Karl Pauls
> Assignee: Karl Pauls
> Priority: Major
> Fix For: framework-6.0.2
>
>
> The way we currently look-up and create built-in handlers in the urlhandlers
> requires the handler package to be open to felix. As this is not the case for
> the jrt handler by default, the framework needs to be started with an
> add-opens for the java.base/sun.net.www.protocol.jrt package if jrt urls need
> to be created.
> Fortunately. it should be possible to workaround the issue in Felix.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)