Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
wro4j-maven-plugin with JDK 9 #1039
Part of our project(Weld) uses wro4j-maven-plugin and I started looking into JDK 9 Jigsaw (currently at EA build 148) for project builds (early adaptation). One of the obstacles is wro4j plugin causing failures. I tried versions from 1.7.7 to 1.8.0 and although there are slight differences in error output, none of them works.
So first of all, I meant to ask whether there was/is any attempt to align wro4j with JDK9? If so, how are things looking?
And finally a stacktrace I got with wro4j plugin in version 1.8.0 (kinda long, sorry):
I played some more with different JDK EA build versions and managed to squeeze out a better exception than the one above. It reads this:
This basically means, you need to run Java with additional args, in this case you will need following:
@manovotn thanks for the investigation.
Isn't it available by default as following?
If not and it requires some changes on the plugin itself, then I think we could implement it as part of this issue.
Alternatively, it is possible to provide the jvm arguments when running the plugin from command line:
added a commit
Feb 15, 2017
Looking deeper in stack trace reveals that problem comes from Mockito and cglib classes it contains.