Class StrongEncapsulationExamples

java.lang.Object
net.jrodolfo.java_evolution.java17.strong_encapsulation.StrongEncapsulationExamples

public class StrongEncapsulationExamples extends Object
Demonstrates Java 17 strong encapsulation with isolated child JVMs.

The child program deliberately attempts deep reflection into java.lang.String. That is bad production practice, but it is a faithful way to show what strong encapsulation blocks and how targeted migration flags behave. Running the probe in a child JVM keeps those command line flags out of the Maven test JVM.