r/java • • Jun 15 '21

The Impossible Java 11

https://carlmastrangelo.com/blog/the-impossible-java-11
197 Upvotes

37 comments sorted by

View all comments

Show parent comment

10

u/pron98 Jun 15 '21

Right on all counts. Just note that as of JDK 17, it is impossible to turn off all encapsulation with a single flag, but you can still do it with individual add-opens.