Class StrongEncapsulationNotes
java.lang.Object
net.jrodolfo.java_evolution.java17.StrongEncapsulationNotes
Explains strong encapsulation of JDK internals in Java 17.
Before Java 17, some applications and libraries reached into internal JDK packages through reflection or unsupported APIs. That made upgrades fragile because those internals were not stable public contracts.
Java 17 strongly encapsulated internal JDK APIs by default. This matters for libraries that previously depended on unsupported internal packages and pushes code toward supported public APIs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionimpact()Explains the practical impact.Names the migration pressure this change created.Explains why this feature is represented as notes.
-
Constructor Details
-
StrongEncapsulationNotes
public StrongEncapsulationNotes()
-
-
Method Details
-
impact
-
migrationAdvice
Names the migration pressure this change created.- Returns:
- a short migration note
-
projectDecision
Explains why this feature is represented as notes.- Returns:
- the project decision
-