News for hackers. Stuff that matters.
Re:Java 18 / JDK 18: General Availability by UncleMeat on Tuesday March 22, 2022 @11:24AM (#30767203)
It is true that C# improved this. Separating primitives and references in Java was definitely an error and it cannot be fixed at this point.

The good news is that a linter trivially detects this bug.

Re:Java 18 / JDK 18: General Availability by msgilligan on Tuesday March 22, 2022 @12:23PM (#30768062)
Actually Project Valhalla is going to fix (well at least improve) this:

https://openjdk.java.net/projects/valhalla/