This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds and have James Denton on-line!
See this thread for details.
Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • 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:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

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

 
Sheriff
Posts: 21450
95
Chrome Eclipse IDE Java 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.
 
Saloon Keeper
Posts: 9217
177
  • 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: 21450
95
Chrome Eclipse IDE Java 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: 88
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: 21450
95
Chrome Eclipse IDE Java 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!