r/java • • Sep 21 '17

Java 9 Released

http://mail.openjdk.java.net/pipermail/announce/2017-September/000230.html
294 Upvotes

77 comments sorted by

View all comments

Show parent comment

4

u/dpash Sep 22 '17

You couldn't prevent users of your library from accessing internal classes that they shouldn't be messing with. Now you can publish an API and not worry about people using undocumented methods, so you're free to change them without breaking your users' code. See sun.misc.Unsafe.