Project Coin: JSR 334 has a Proposed Final Draft

Posted by darcy on Oracle Blogs See other posts from Oracle Blogs or by darcy
Published on Fri, 24 Jun 2011 15:42:17 -0700 Indexed on 2011/06/25 0:28 UTC
Read the original article Hit count: 405

Filed under:

Reaching nearly the last phase of the JCP process, JSR 334 now has a proposed final draft. There have been only a few refinements to the specification since public review:

  • Incorporated language changes into JLS proper.

  • Forbid combining diamond and explicit type arguments to a generic constructor.

  • Removed unusual protocol around Throwable.addSuppressed(null) and added a new constructor to Throwable to allow suppression to be disabled. Added disclaimers that OutOfMemoryError, NullPointerException, and ArithmeticException objects created by the JVM may have suppression disabled.

  • Added thread safely requirements to Throwable.addSuppressed and Throwable.getSuppressed.

Next up is the final approval ballot; almost there!

© Oracle Blogs or respective owner

Related posts about /Java