Code Monkey home page Code Monkey logo

Comments (2)

making avatar making commented on August 29, 2024 1

Thanks for the write up!

Do you want to stay on JDK 8?

Yes. I will support Java 8 until YAVI 2.0.

At the moment, there are few packages that I want to be internal. I thought I'd have module-info for the future, but as you say, Automatic Module Name should be sufficient for now.
Leave this issue open.

from yavi.

duponter avatar duponter commented on August 29, 2024

There are several options to go forward with this. It depends on the choices you want to make.

Do you want to stay on JDK 8?

  • In that case, adding an Automatic Module Name entry in your manifest (as done in #171) is sufficient for now, imho.

Do you want to upgrade to JDK 11?

  • Adding a module-info.java is the easiest way forward, but you'll probably lose JDK 8 compatibility.
  • If you'd like to keep JDK 8 compatibility, a multi-release jar might be a solution.

I do not have experience with the Moditect Maven plugin, but at first sight it seems especially handy to add module-info files to jar files you do not control.
Although, you can use this plugin in your codebase as well, but I think it is easier to add the module-info file directly.

Another consideration you have to make: Which packages do you want to export and which ones need to stay internal? This might imply that you need to move some functionality.

from yavi.

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.