I'm moving a maven java/gwt multi-modules project to java 9 and would like to write module-info.java files also for gwt modules (why not?).
I'm using GWT 2.8.2. Since it doesn't provide java 9 modules info, I need to rely on automatic module names. I wrote my module-info.java as follow:
The java 9 compiler accepts this file without complaining (no "module not found" error so I guess it finds the modules). And it successfully compiles java files that only uses gwt.user. But compiling java files also using jsinterop fails with the following error:
Any idea why?
I found a workaround by adding a dependency to the jsinterop head snapshot in my pom (also declared the google snapshot repository):
and changing my module info to:
Then the java 9 compiler successfully compiles java files using jsinterop. But I would prefer not doing this.
Any better solution?
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 email@example.com.
To post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.