What is Project Coin (JSR 334)?

The name "Project Coin" refers to a number of small changes to the Java language that were included in JDK 7. Those modifications were intended to simplify day-to-day programming tasks. Java developers submitted 70 proposed changes to Project Coin; the following five were included in Java 7:

  • Strings in switch
  • Binary integral literals and underscores in numeric literals
  • Multi-catch and more precise rethrow
  • Improved type inference for generic instance creation (diamond) try-with-resources statement
  • Simplified varargs method invocation

Two other suggested changes -- collections support and unsigned literals -- were deferred for JDK8.

Source link

Project Coin

Further Reading

DevX article on Project Coin