Hi Karl:

This seems to be the root cause of the other exceptions I'm dealing with.
Obviously, there is no longer a java.net to open.  I don't know if the
highlighting will transmit but the problems is: "Caused by:......

Caused by: java.lang.RuntimeException: Unable to make protected boolean
java.net.URLStreamHandler.equals(java.net.URL,java.net.URL) accessible:
module java.base does not "opens java.net" to module
org.apache.felix.framework
        at org.apache.felix.framework@6.0.2
/org.apache.felix.framework.URLHandlersStreamHandlerProxy.<clinit>(URLHandlersStreamHandlerProxy.java:104)
        ... 15 more
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make
protected boolean
java.net.URLStreamHandler.equals(java.net.URL,java.net.URL) accessible:
module java.base does not "opens java.net" to module
org.apache.felix.framework
        at
java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:340)
        at
java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:280)
        at
java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:198)
        at java.base/java.lang.reflect.Method.setAccessible(Method.java:192)
        at org.apache.felix.framework@6.0.2
/org.apache.felix.framework.util.SecureAction.setAccesssible(SecureAction.java:871)
        at org.apache.felix.framework@6.0.2
/org.apache.felix.framework.URLHandlersStreamHandlerProxy.<clinit>(URLHandlersStreamHandlerProxy.java:79)
        ... 15 more


On Mon, Feb 18, 2019 at 4:53 AM Karl Pauls <karlpa...@gmail.com> wrote:

> The framework itself should work ootb on java11 just fine. Likewise, I
> think the default distribution should work on java11 too (i.e., the
> shell).
>
> Not sure about other bundles - feel free to follow-up with your set-up
> and the exceptions you see.
>
> regards,
>
> Karl
>
> On Mon, Feb 18, 2019 at 1:43 PM Chuck Davis <cjgun...@gmail.com> wrote:
> >
> > Thanks for responding, Rob.  I'm very new to OSGi and that sounds like a
> > LOT of tinkering to me (overwhelming in fact at this point !!).
> >
> > But the more I study it the more it makes sense to me and the exceptions
> > I'm seeing.
> >
> > Thanks for your response.
> >
> > On Sun, Feb 17, 2019 at 8:44 PM Rob Walker <r...@ascert.com> wrote:
> >
> > > We have worked our Felix based app so that it runs on JDK11 - took a
> bit
> > > of tinkering, but there wasn't anything in core code we had to change.
> > >
> > >
> > >
> > > We did need to load the following bundles separately to replace missing
> > > classes:
> > >
> > >
> > >
> > > jre-1.8_extra_bundles=
> > >
> > > jre-9_extra_bundles=${j9_replacement_packages}
> > >
> > > jre-10_extra_bundles=${j9_replacement_packages}
> > >
> > > jre-11_extra_bundles=${j9_replacement_packages}
> > >
> > >
> > >
>
>
>
> --
> Karl Pauls
> karlpa...@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
> For additional commands, e-mail: users-h...@felix.apache.org
>
>

Reply via email to