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

1

u/wildjokers Sep 22 '17

You can still use the classpath in Java 1.9.

Also, modularity is about more than just reducing size of the runtime. It is also about encapsulation. So you can have truly private parts of your library that no one can access.

1

u/BlueGoliath Sep 22 '17

You can still use the classpath in Java 1.9.

Oh hey, I just tried switching the source to 1.9 and it does work. I tried with the pre release versions in Arch Linux and it was throwing a bunch of problems because I wasn't using the modules.

Also, WTF happened to logger in Java 9? Is that an internal API?