News for hackers. Stuff that matters.
Re:Java 18 / JDK 18: General Availability by paulmd on Tuesday March 22, 2022 @08:44PM (#30773496)
> Java values backwards compatibility very highly, so if something runs today, it's likely to keep running without modification on future JVMs.

this has been the case in the past, but Java is gritting its teeth and making some breaking changes in the JDK11/16/18 era.

libraries that mess with the unsafe/internal namespaces are the most prominent example - there are a ton of legacy libraries that are going to break from that change unless updated - but there's also a big push for modules and for classes to encapsulate themselves more strongly.

Re:Java 18 / JDK 18: General Availability by kaba0 on Wednesday March 23, 2022 @02:58AM (#30775746)
Which is essential for the longevity of a platform. You can’t further develop the JVM if you are bogged down by code depending on the internals. Encapsulation by modules is hugely important, and if we are honest, anything that depended on internals were prone to bugs anyways. Sure it sucks, but they will update sooner or later