Milling Project Coin [JEP 213]

Project Coin was a feature set of minor changes introduced in Java 7. These changes are listed as follows:

  • Strings in switch statements
  • Binary integral literals
  • Using underscores in numeric literals
  • Implementing multi-catch
  • Allowing for more precise re-throwing of exceptions
  • Generic instance creation improvements
  • Addition of the try-with-resources statement
  • Improvements to invoking varargs methods

Detailed information can be found in the following Oracle presentation: http://www.oracle.com/us/technologies/java/project-coin-428201.pdf.

JEP 213 focused on improvements to Project Coin's enhancements. There were five such enhancements, each detailed as follows.

Get Java 9: Building Robust Modular Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.