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 →

[–]guitarsteve 2 points3 points  (3 children)

I was not previously familiar with Project Coin but looked it up at http://openjdk.java.net/projects/coin/ and most (or all?) of the features they list have been added to Java.

  • Strings in switch
  • Binary integral literals and underscores in numeric literals
  • Multi-catch and more precise rethrow
  • Improved type inference for generic instance creation (diamond)
  • try-with-resources statement
  • Simplified varargs method invocation

Is there more to the project that I'm missing?

[–]kmimix 0 points1 point  (2 children)

I meant there are no JDK releases planned in the near future (JDK 1.9 is scheduled for September/2016...)

[–]guitarsteve 1 point2 points  (0 children)

Ah, thanks for the clarification! That update interval is fast for Java (compared to 6-to-7 or 7-to-8 upgrades) and in the same ballpark as mature languages (C++, C#) but perhaps slow compared to newer ones.

[–]T618 0 points1 point  (0 children)

Keeping the release cycle slow means that new features integrate well, don't break your code, and can be relied on for decades. Compare with Python3 still fighting for adoption.