• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

What's new in Java - a quick overview  RSS feed

 
Sheriff
Posts: 21466
97
Chrome Eclipse IDE Java Spring Ubuntu VI Editor Windows
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just finished a little side project of mine, where you can easily see what Java version (>= 5.0) has added which package, class or member: https://robtimus.github.io/whats-new-in-java/.

I started it because too often I didn't really have a full overview of what new features were added. With the more frequent Java release cycle this would become even worse. This little one-pager now solves that issue. It's generated from the latest API, so when Java 11 comes out it will be easily updated.

It has already proved its value to me, because I didn't know that:
* Java 10 has added Collectors for unmodifiable collections and maps.
* Java 9 has finally added StringBuilder support to java.util.regex.Matcher.
* Java 9 has added pipeline support to ProcessBuilder.
 
Bartender
Posts: 9496
184
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wait what? I just found out that Closeable was only added to the language in Java 5. If you had asked me, I would have sworn it was part of Java from the start.

And apparently in Java 9 they added a method to flag busy waits -___-;
 
Rob Spoor
Sheriff
Posts: 21466
97
Chrome Eclipse IDE Java Spring Ubuntu VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That just proves how some new features just aren't advertised as broadly as others.
 
Ranch Hand
Posts: 96
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Very helpful tool Rob. Now I can see at first glance what's new in the different versions of Java without having to dig much into documentation. I wish I could give you a cow...  
 
Rob Spoor
Sheriff
Posts: 21466
97
Chrome Eclipse IDE Java Spring Ubuntu VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No problem, I got enough praise already

BTW, if you watch the repository (https://github.com/robtimus/whats-new-in-java/) you will be informed by GitHub when I'll release a new version (September or October will get one, when Java 11 comes out).
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!