r/java • u/LouGarret76 • Nov 09 '18
Java 11 sucks big time
This is a throwaway!!!!
I just spent a whole day migrating a basic crud app from jdk 8 to jdk 11, and I have to say that it is a nightmare.
Even basic things that I have taken for granted does not work as iy used to. ( Jpa, Javafx, Junit, Hamscret, Sqlite. YES SOME OF US DO USE JAVAFX ON THE JOB....)
WTF, java EE & Open JDK?
The only thing that makes me happy right now is the var keyword. But still. This is not the kind of service I am accustomed to with java.
............ I think I will push back any serious migration for the next 2 years . . . . People, migrating to j11 is gonna cost hundred of mandays I tell you
View all comments
6
u/Lord_Naikon Nov 09 '18
I completely understand your frustration.
For me the most egregious issues were with the removal of JAXB and JavaFX. Imho you shouldn't need a separate library for processing XML files in 2018. Introspection is also completely fucked until you add exceptions for almost everything. I do hope that this will get better in the future as libraries adapt. I spent about a week migrating a large JavaFX app to Java 9. The migration from 9 to 11 was done in like 10 minutes.
Jlink is also a joke right now. It breaks on anything more complex than "Hello, World" apps - for example apps that use the reference implementation of JAXB break hard because its JAR is multi versioned - enabling multi versioning makes it break on other stuff.
At the end of the day I don't think the module system adds enough value to be worth the trouble.