Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Java 9 module-info.java ruminations #4835
We will also need to modularize the libraries we package, including but not limited to:
We also package several third-party libs and will want to see if they've started modularizing.
Tentatively marked for 9.2.
One big wrinkle here is that if we start including module-info in a project, we're going to need Java 9 tooling to build it. That's not a huge leap for some of the libraries, since we control them and are generally the only ones maintaining them, but JRuby itself is built by and for many different systems, some of which may not have Java 9 for a while.
referenced this issue
Nov 10, 2017
I'm trying to wrap up my day, but perhaps @raelik or someone else observing this issue can research whether there are any ways to build module-info.java without a Java 9 install present. I know we can make this produce a jar that works on Java 7 or 8, as I did in https://github.com/headius/invokedynamic.
added a commit
Dec 19, 2017
Some of our deps have been modularized: jcodings, joni. The bytelist library has been rolled back into JRuby proper due to duplicated packages.
The jnr projects still need to be modularized.
I added an automatic module name in 681ab22.
More to come, ideally with full proper modularization in 9.2.2.