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