Email Icon   Forward to a friend
Oracle Logo
Java Magazine
Week of May 3, 2021

Please enjoy all the new articles published in Java Magazine.
For the past several years, the community has watched the slow, inexorable progress of a long-term project within the Java ecosystem: to strongly encapsulate the internals of the Java runtime.

As Ben Evans explains, in Java 8 and before, you could call public methods on any public class, both directly and reflectively. However, after the Java module system arrived, these calls became subject to additional restrictions. Encapsulation of direct access to internal classes means that code is less likely to have errors at runtime because user classes are tightly coupled to the internal implementation of the JDK—and thereby might break when they are run on a different or newer JDK.

In his article, Ben walks you through this project’s milestones and changes beginning with Java 9 and continuing to Java 16—and soon, to Java 17.

Take care,
Alan Zeichick
Editor in Chief, Java Magazine
@zeichick

P.S. Did you know Java Magazine is on Facebook? Visit us and say hello!
The newest articles
A peek into Java 17: Continuing the drive to encapsulate the Java runtime internals
Ben Evans explores the progress of a long-term project within the Java ecosystem: to strongly encapsulate the internals of the Java runtime.

Guava: A treasure trove of Java functionality
As Andrew Binstock explains, an omnibus Java library such as Guava can do away with many dependencies and greatly simplify your projects.

Understanding Java generics, Part 1: Principles and fundamentals
Generics are hard to avoid when you use collections, and it’s hard to do anything interesting without collections, as Michael Kölling explains in this updated tutorial.

Even more greatness packed into Java 16, including tools for improving future JVMs
We recently shared thoughts from seven Java Champions about their favorite features in Java 16. Here are comments from five more leading luminaries.
Articles about Jakarta EE and Java EE
Slightly less-new articles
First steps with Oracle Cloud Infrastructure SDK for Java
How to make the most of Java enums
Two gifts you can give your Java developers—today
The latest Java downloads and resources for developers
Java still rocks the finance industry. Here’s why Java 16 makes it even better.
Complimentary subscription to Java Magazine
Java Magazine is a deep dive into Java and the JVM. Find detailed explanations about the language and the platform written by experts and members of the Java development team.

Join a quarter of a million subscribers in getting useful, authoritative programming information delivered directly to your inbox.
Stay connected
Facebook Twitter RSSfeed