jigsaw EA feedback for Eclipse/JBoss Tools and WildFly

Alan Bateman Alan.Bateman at oracle.com
Thu Sep 10 13:41:03 UTC 2015


On 10/09/2015 14:21, Rory O'Donnell wrote:
> Martin - thanks for your feedback, not sure your email made it to the 
> list without subscribing.
>
> It will now, rgds Rory
> On 10/09/2015 13:59, Martin Malina wrote:
>>
>> I reported it here: https://issues.jboss.org/browse/JBIDE-20635

Thanks for forwarding. The interesting line seems to be:

13:03:04,020 ERROR [org.jboss.as.controller] (Controller Boot Thread) 
WFLYCTL0002: Error booting the container: java.lang.IllegalAccessError: 
Class __redirected.__XMLInputFactory can not access a member of class 
com.sun.xml.internal.stream.XMLInputFactoryImpl (module java.xml) with 
modifiers "public", module java.xml does not export 
com.sun.xml.internal.stream to <unnamed module @6958b882>

So __redirected.__XMLInputFactory (WildFly?, generated?) is attempting 
to use Class.newInstance to instantiate 
com.sun.xml.internal.stream.XMLInputFactoryImpl. This should fail with 
IllegalAccessException because com.sun.xml.internal.stream is not 
exported. I can't tell where IllegalAccessError is coming from, maybe 
someone is catching IllegalAccessException and re-throwing it as an 
IllegalAccessError.

I assume using -XaddExports can be used to workaround this temporarily.

-Alan.



More information about the jigsaw-dev mailing list