Last coin improvement stamped into place; mailing list transitioning to an archive

joe darcy joe.darcy at oracle.com
Fri Apr 10 18:02:25 UTC 2015


Hello,

Three rough edges in JDK 7's Project Coin were identified for 
improvement in possible future work:

     * Accepting @SafeVarargs on private methods [1]
     * Using a final or effective final variable in a try-with-resources 
statement [2]
     * Allowing the diamond syntax with some anonymous class 
constructors [3]

As previously discussed [4], these improvements have been worked on in 
JDK 9 as part of JEP 213 [5]. The third and final of these features, 
diamond syntax with some anonymous class constructors, has been 
implemented and is now available as of JDK 9 build 59:

     https://jdk9.java.net/download/

Please give the new feature a try with your own code and report any 
issues to compiler-dev AT openjdk.java.net.

With the last remaining rough edge now the smoothed out, I declare 
Project Coin is well and truly done and I'll formally transition the 
coin-dev list to an archive that will not accept any new messages.

Happy coding,

-Joe

[1] JDK-7196160: Project Coin: Allow @SafeVarargs on private methods,
https://bugs.openjdk.java.net/browse/JDK-7196160

[2] JDK-7196163: Project Coin: Allow final or effectively final 
variables to be used as resources in try-with-resources,
https://bugs.openjdk.java.net/browse/JDK-7196163

[3] Project Coin: diamond and anonymous classes,
https://bugs.openjdk.java.net/browse/JDK-8062373

[4] http://mail.openjdk.java.net/pipermail/coin-dev/2014-June/003485.html

[5] JEP 213: Milling Project Coin, http://openjdk.java.net/jeps/213



More information about the coin-dev mailing list