r/java • u/ProdOrDev • Jul 31 '26
JEP 401: Value Objects And JEP 539: Strict Field Initialization Merged Into JDK
https://github.com/openjdk/jdk/commit/cc278dbb8a1ca0754d5842708b9029441055d361
182
Upvotes
View all comments
Show parent comment
3
u/cogman10 Jul 31 '26
The JDK was a major motivator for modules, but it's not as if Java modules weren't intended to be used by the public. There was a lot of effort and tools made to take advantage of the module system which ultimately are mostly unused (jlink, for example). The thought was that end users could do things like generate slim JVMs reducing the runtime requirements.
I think it's fair to call modules somewhat failed. Successful for the JDK, but overall didn't deliver on what it promised to the public.