Wednesday, June 7, 2017

Re: Problem compiling GWT code with Java9

Also, the reason gwt.xml files aren't loading sanely has to do with how resources are handled in java 9. 

You are going to have to either declare your source modules (with the gwt.xml) as `open` (no documentation for this, I found it trolling JCP forums),
or you can open your module to your gwt module (I built this with an unspeakable hack for exploration purposes) with --add-opens VM args.

If you dig into classloaders, you will discover that they will allow access to .class files from non-opened modules, but all other resources are effectively hidden unless explicitly opened.

You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment