Code Monkey home page Code Monkey logo

Comments (5)

keilw avatar keilw commented on September 24, 2024

Not sure, if we need this, currently module-info could be all we need, unless future Java versions came with changes to the API or RI that are so beneficial, we better jump on them. Value types could be such case, but JEPs like http://openjdk.java.net/jeps/169 or http://openjdk.java.net/jeps/218 have the lowest priorities and are not even assigned to a JDK version either.

from indriya.

keilw avatar keilw commented on September 24, 2024

While a Multi-release JAR was not necessary at this point, Jigsaw has now been fully integrated by Indriya

from indriya.

keilw avatar keilw commented on September 24, 2024

Reopening this as a basis for new language features e.g. in Java 12

from indriya.

keilw avatar keilw commented on September 24, 2024

@desruisseaux, do you know, if the AntRun plugin you used for https://github.com/unitsofmeasurement/unit-api could have two or more identical goals, one for Java 9 special artifacts, the other for Java 12?
I tried https://github.com/metlos/multi-release-jar-maven-plugin locally with Indriya and it works reasonably well, but the first additional JDK (9) gets not only the module-info under the META-INF/releases folder, the entire Java 8 codebase is also duplicated there. Plus OSGi Bundle seems incompatible with the multi-release plugin. We may be able to do something different like Bnd, but
if the AntRun approach could work here, it might keep the effort and JAR size (which otherwise gets up to around 500kb instead of 256) a bit smaller.

from indriya.

keilw avatar keilw commented on September 24, 2024

Some of the AntRun option is also documented here https://blog.loof.fr/2018/06/multi-release-jar-with-maven.html

from indriya.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.