-
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
Failes when using JDK9 #44
Comments
Any updates on this issue? I am experiencing similar issue with my project, and wishfully hoping someone may have a fix to share (pull request?) |
Have a look at |
Thanks for the response. However would you please provide more specifics about how the changes may be related to the issue above? Because as I am looking at the the repository, I still see the same problematic calls in ExportFileTypeRegistry.java . I think this issue is related to this other post and looks like the fix is not trivial as javax.imageio.spi.ServiceRegistry has to be replaced with java.util.ServiceLoader |
Sorry for the confusion. My comment was actually rather related to the title "fails when using JDK9" than to the specific IllegalArgumentException. The freehep code in the drawj2d repo compiles (and runs) using JDK9/JDK11, so the link might be useful to others. But again, the comment is not directly related to the issue above. The drawj2d project probably just does not call the part of the code that causes the runtime exception. |
Here is the problem with this library running on JDK9. This issue was discussed here:
https://stackoverflow.com/questions/46746962/jdk9-problems-failes-running-simple-java-code
The text was updated successfully, but these errors were encountered: