• 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:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

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

 
Sheriff
Posts: 21423
94
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: 9137
172
  • 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: 21423
94
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: 21423
94
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).
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!