Milling Project Coin

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 rethrowing of exceptions
  • Generic instance creation improvements
  • Addition of the try-with-resource 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).

For the Java 9 release, there were five improvements to Project Coin. These enhancements are detailed in the sections that follow.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset