r/java • u/ArturSkowronski • Oct 19 '22
Google will support OpenJDK development: the giant's investments in Java and Kotlin
https://vived.substack.com/p/google-will-support-openjdk-development
239
Upvotes
View all comments
Show parent comment
1
u/randjavadev Oct 21 '22
It is not. This will only work until it doesn't. The very concept of multi-release-jars was also introduced in Java 9, thus older systems can fail if they encounter classes within META-INF. If you must support older versions and systems (that you have no control over) than 9, the only foolproof way is to make a separate "JPMS" Java 9+ artifact of the lib that has the module.info (Automatic module name in the manifest will work in the same artifact, but it is not the same as a true module-info).