r/java • • Mar 19 '19

Java 12 Released !!!

https://www.oracle.com/technetwork/java/javase/downloads/jdk12-downloads-5295953.html
235 Upvotes

98 comments sorted by

View all comments

78

u/MasterLJ Mar 19 '19

...and here I am still Java 8ing =|

13

u/RotaryJihad Mar 19 '19

You and me both.

15

u/MasterLJ Mar 19 '19

Modules just seem like unnecessary hassle if you already partition your dependencies well, but I'm probably missing some useful use cases. I'm a solo developer, fwiw.

10

u/ObscureCulturalMeme Mar 19 '19 edited Mar 19 '19

Modules seem to be all the rage for enterprise container "app servers" and the like, but for the rest of us, modules are solving a problem that we simply don't have.

Unfortunately, a lot of third party libraries are still problematic to use in 9+, and the JVM unconditionally spits out warnings about them anyhow. So our users complain to us about problems (but not really) in code that we don't control.

4

u/capitol_ Mar 19 '19

It's often very easy to add a Automatic-Module-Name entry to the manifest file, and I have only had one maintainer that have been negative to it when I have opened bug in projects.

2

u/FoodComputer Mar 19 '19

Is this why I see warnings like "found module-info.java. shading will break its strong encapsulation." when using the Maven Shade Plugin?

2

u/MMPride Mar 20 '19

Illegal reflective access warnings are going to be a fun one to fix for unmaintained dependencies when the warnings turn to errors then turn to removals.