这篇博文由我与 Thorben Janssen 共同撰写,Thorben 拥有 20 余年的 JPA 和 Hibernate 经验,并且是“Hibernate Tips: More than 70 Solutions to Common Hibernate Problems”和 JPA 简报的作者。 Kotlin 和 Jakarta Persistence(也称为 JPA)是服务器端开发中备受欢迎
这篇博文由我与 Thorben Janssen 共同撰写,Thorben 拥有 20 余年的 JPA 和 Hibernate 经验,并且是“Hibernate Tips: More than 70 Solutions to Common Hibernate Problems”和 JPA 简报的作者。 Kotlin 和 Jakarta Persistence(也称为 JPA)是服务器端开发中备受欢迎
With 2025 coming to a close, let's summarize Java's year and look at the current state of the six big OpenJDK projects as well as a few other highlights.
Explore JEP 500 and the Java Memory Model to understand the 'final' keyword. Learn why immutable Java fields appear mutable during unsafe publication.
Java 26 is here, but it's boring. Nothing really exciting. But that's a good thing, as the boring stability is what made Java successful.
Every two weeks a text on profiling, debugging or eBPF
Now that Java 26 is features complete (Rampdown Phase Two at the day of writing), it’s time to walk through all the functionalities that bring to us, developers, this new version. This article is part of a series on what’s new on the last versions of Java, for those who wants to read the others,
Java 26 will issue run-time warnings when a final field is mutated through reflection. This prepares a future change that will make such final field mutation illegal by default to improve Java's integrity.
With JDK 26 / JEP 500 starting to prevent final field mutation through reflection, it is important that Java projects stop employing that practice.
Reflective mutation of final field mutation will soon be disabled by default and should be avoided if possible - here's how
Java 26 is here, and its main purpose seems to be to provide a solid foundation for future things to come. It comes with a few new features, some performance improvements and multiple enhancements that mention Project Valhalla as the inspiration for their existence. This post has all the info!