
上QQ阅读APP看书,第一时间看更新
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.