Coder Social home page Coder Social logo

jre8 compatible module about update4j HOT 4 CLOSED

update4j avatar update4j commented on May 30, 2024
jre8 compatible module

from update4j.

Comments (4)

spyhunter99 avatar spyhunter99 commented on May 30, 2024

hmm after looking at the code, a jre8 build would probably be completely different as the code base makes heavy use of jre9 apis

from update4j.

mordechaim avatar mordechaim commented on May 30, 2024

from update4j.

mordechaim avatar mordechaim commented on May 30, 2024

I finally tracked down every single incompatibility and implemented JDK 8 compatible classes.

But since we need special handling with the module system it cannot be completed without a Multi-Release jar. Here's where the tricky part begins, there is no out-of-the-box Maven support. I tried following a few suggestions from here but could not get it to work cleanly. Additionally, it get's really challenging to maintain the codebase.

One other solution would be to use source 8 and target 9, this would set the class version to 52 (jdk8) and still allow using classes in jdk9. But then I have to run code in an if/else block and check for versioning. Cleaner, indeed.

from update4j.

mordechaim avatar mordechaim commented on May 30, 2024

For now, this will not be implemented.

from update4j.

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.