With the introduction of modules in Java 9, do the access restrictions based on access modifiers for classes have any real relevance. Module definition can ultimately control what is exposed outside and that is what is really important for a utility or library.
Though class access modifiers provide a different level of control, but is that really required or is it more of a legacy feature that java has to carry along.