-
Notifications
You must be signed in to change notification settings - Fork 72
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
Build error on JDK8 due to the use of a field only available since Java 9 #55
Comments
Also, I just realized, that having JARs with an existing MANIFEST.MF leads to an exception when specifying the jvm version element because the ZipFileSystem reports that META-INF/MANIFEST.MF already exists. Unfortunately, even though the module-info.class file is now in META-INF, Jandex will still fail to index the JAR, so this feature will not help with that problem. |
…eld which is only available in Java 9 and fix problems with JARs when manifest already exists
…eld which is only available in Java 9 and fix problems with JARs when manifest already exists
…h is only available in Java 9 and fix problems with JARs when manifest already exists
Fixed. |
Yes, that's a known issue. It has been fixed in Jandex some time ago (by simply ignoring all module-info.class files), but I reckon you cannot easily upgrade depending on your environment. |
The use of the MULTI_RELEASE manifest attribute name leads to an error when executing a build on JDK 8. I must have missed that when testing #53
The text was updated successfully, but these errors were encountered: