Open prisme60 opened 2 years ago
Thanks for your report! Please ensure you have provided enough info in order to recreate the issue, including the problematic ODS File.' first issue
Hi,
Originally SODS was designed for JDK8. So I am compiling all the releases with a JDK8. That might explain why it is not compatible with the module system of JDK9.
The module-info was added after 1.4.0 release thanks to a contributor. I might need to drop JDK8 compatibility in order to enable it.
Let's see what I can do
Hi,
So I am compiling all the releases with a JDK8. That might explain why it is not compatible with the module system of JDK9.
Isn't the GitHub CI task using JDK11? It should be able to compile the multi-release JAR so that the module-info.class targets JDK9 bytecode and other class files JDK8 bytecode.
Hi, So I am compiling all the releases with a JDK8. That might explain why it is not compatible with the module system of JDK9.
Isn't the GitHub CI task using JDK11? It should be able to compile the multi-release JAR so that the module-info.class targets JDK9 bytecode and other class files JDK8 bytecode.
That's a good point. Right now I am compiling the releases in my own machine. The future should be using Github Actions
Please publish a version with module support.
I have the following error when I use your maven dependency :
I am using the following versions of java and Maven :
After some investigation, I see that there is a module-info.java, but the version 1.4.0 was published before the commit. But even if you publish a new release, it is seems that the module will be not present (I do a test with JitPack, the profile JDK9 is not activated by default).
Edit : I am using Maven embedded in Intellij (maven 3.8.1), not from my system.
I have recompiled myself your SODS code and install it to my local maven repository (~/.m2), and I am now able to build the JLINK image.
Please release a version with module in the Maven repository.