-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any plans on releasing 2.4 ? #129
Comments
Hi, |
What's your issue with Java 9? |
I updated ASM to version 6 and removed the interrim class file patching. I also added Java 9 to the official documentation as shipped with release. A release will come soon! It would still be nice to get an info what your problem with Java 9 was. There is no change in support for Java 9, so it's unclear why you opened this issue. So if you have seen an issue with Java 9, speak loud, otherwise I will release soon. |
Thanks for your response. Atm, I am waiting for feedback from our developer, who reported this in our Issue tracker. As soon as I have an update, I will report it back to you. |
I got some information for reproducing it and will try to provide more details tomorrow. |
FYI, I was able to build zlibsvm-master with forbiddenapis 2.3 (after fixing the POM file to work with newer javadoc plugin). I was also able to build the project with source/target 9 instead of 1.8. If you used another project that fails it would be good to get a hint, but as far as I see, all is fine. Maybe it's an unrelated Maven problem with outdated plugins (like the Javadoc one)? |
Thanks for testing Setup:
Build our (sadly, closed source) API with
Building it with JDK 8 (and version Same behaviour also appears for latest Maybe, I overlook something... ? EDIT: Okay... this is related to https://stackoverflow.com/questions/43574426/how-to-resolve-java-lang-noclassdeffounderror-javax-xml-bind-jaxbexception-in-j and JDK-9 - sorry for bothering you. Would it be possible to apply something similar to the javadoc plugin |
Hi, The problems comes from the fact that forbiddenapis runs in the same JVM as Maven. And Maven cannot see JAXB classes, because they were removed from Java 9's default classpath. When compiling stuff with javac this works, as the compiler runs in a separate process where you may use I will release 2.4 later this evening. |
@uschindler Would it be possible to apply something similar to the javadoc plugin --add-modules java.xml.bind with forbiddenapis? |
No, because it runs inside Maven's process. Javadoc gets forked. You can pass a parameter to disable some checks, see related issue. |
Hi,
thanks for your awesome plugin.
However, I was wondering, if you could push forward for 2.4 RELEASE in order to provide Java 9 compatibility.
Thanks in advance...
The text was updated successfully, but these errors were encountered: