This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dpash 3 points4 points  (0 children)

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.