Project Coin: JSR 334 has a Proposed Final Draft
- by darcy
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!