News for hackers. Stuff that matters.
Re:JVM/Java: Null-Restricted and Nullable Types by deely3 on Friday August 02, 2024 @07:43AM (#41138012)
> Java 9's module system broke just about every Java <=8 project I've ever seen.

As far as I understand, some IDE's and built automation tools did not rollout support for module system immediately, yes?

Re:JVM/Java: Null-Restricted and Nullable Types by mschuster91 on Friday August 02, 2024 @08:34AM (#41138328)
Mixing a Java >= 9 project with Maven libraries made for <= 8 is one hell of a headache.
Re:JVM/Java: Null-Restricted and Nullable Types by jeroenhd on Friday August 02, 2024 @10:55AM (#41139280)
It took a while for IDEs and tools to catch up, but I still encounter issues with old codebases to this day, using the latest and greatest tools.

The problem isn't necessarily that the compiler isn't called right, but rather that a lot of existing library code suddenly didn't work anymore. By compartmentalising code (a welcome improvement!), projects that weren't designed for this compartmentalisation need a lot of "basically turn off Java module restrictions" command line flags to the JVM.