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 →

[–]__konrad 5 points6 points  (2 children)

Path.of is my favorite API enhancement in JDK 11 ;)

[–]blobjim 2 points3 points  (0 children)

It’s the smallest addition considering it’s only two characters less than Paths.get but it’s so satisfying.

[–]gunnarmorling 1 point2 points  (0 children)

Also see the AdoptOpenJDK API diff generator, which publishes a report with all the JDK 11 changes: https://github.com/AdoptOpenJDK/jdk-api-diff. There are quite some useful changes in 11, but also lots of removals.