Re: jigsaw EA feedback for Eclipse/JBoss Tools and WildFly

2015-09-11 Thread Rory O'Donnell

Thanks for the update Martin!

On 11/09/2015 08:30, Martin Malina wrote:
On 10. 9. 2015, at 15:41, Alan Bateman > wrote:



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 


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.


Hi Alan, thanks for your suggestion. But in this case it seems that 
our Eclipse tooling was at fault. Given the fact that it worked on 
command line, there must have been some difference which broke it in 
Eclipse. Rob seems to have found it and fixed it: 
https://issues.jboss.org/browse/JBIDE-20635


Thanks,
Martin



-Alan.





--
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA , Dublin, Ireland



Re: jigsaw EA feedback for Eclipse/JBoss Tools and WildFly

2015-09-10 Thread Alan Bateman


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 


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.



Re: jigsaw EA feedback for Eclipse/JBoss Tools and WildFly

2015-09-10 Thread Rory O'Donnell
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:

Hi,

Today I tried out the early access build of jdk 1.9 with jigsaw [1]. I 
tried it with JBoss Developer Studio 9.0.0.CR1 nightly build [2] 
(based on Eclipse Mars) and while I didn't see any breakage in 
the tooling itself, I was not able to start WildFly 10 Beta2 [3] with 
this from Eclipse. It would start fine from command line.

I reported it here: https://issues.jboss.org/browse/JBIDE-20635

Rory O'Donnell encouraged me to share this with this list, so here you 
go :)


Note: I'm not subscribed to this mailing list, so please keep me in Cc 
if you have any questions.


Thanks,
Martin


[1] http://jdk9.java.net/jigsaw
[2] 
https://devstudio.redhat.com/9.0/snapshots/builds/devstudio.product_master/

[3] http://wildfly.org/downloads/

--
Martin Malina
JBoss QA Engineer
Red Hat Czech s.r.o.
Purkynova 99
612 45 Brno, Czech Republic

Tel.: +420 532 294 265





--
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA , Dublin, Ireland