This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin for Android App Development and have Peter Sommerhoff on-line!
See this thread for details.
Win a copy of Kotlin for Android App Development this week in the Kotlin 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:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

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

 
Sheriff
Posts: 21603
101
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.
 
Saloon Keeper
Posts: 9707
192
  • 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: 21603
101
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: 99
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: 21603
101
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).
 
You’ll find me in my office. I’ll probably be drinking. And reading this tiny ad.
Programmatically Create PDF Using Free Spire.PDF with Java
https://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!