Project Coin – a handful of change
Project Coin is the new place to propose “small language changes” for Java 7. It’s being run by Joe Darcy and it’s open only for a limited time. So far, the mailing list volume has been way too high for me to keep up with. I’m still contemplating how to integrate this information into my Java 7 page.
For the moment, here is a list of all the proposals minus a couple pre-proposals and possibly missing the latest versions although I tried to catch those as they went by. So far, I think the proposals have been mostly good (although I don’t agree with all of them) and the discussion has been mostly good as well. It will be interesting to see how this set of proposals turns into actual language changes.
I wish there was something like this available for JDK changes as well. Right now API changes tend to happen in a very unorganized fashion through several vectors as far as I can tell.
- Strings in Switch – Joe Darcy
- Block Expressions for Java – Neal Gafter
- Improved Exception Handling for Java – Neal Gafter
- Automatic Resource Management – Josh Bloch
- Improved Type Inference for Generic Instance Creation – Jeremy Manson
- Improved Wildcard Syntax for Java – Neal Gafter
- String Literals – Ruslan Shevchenko
- Use “default” keyword for default visibility – Adrian Kuhn
- Elvis and Other Null-Safe Operators – Stephen Colebourne
- Simple Resource Clean-up – Roger Hernandez
- Import Aliases for Classes and Static Methods – Phil Varner
- Lightweight Properties – David Goodenough
- ‘This’ type – Marek Kozieł
- Static Methods in Interfaces – Reinier Zwitserloot
- fold keyword – Gabriel Belingueres
- Multiple switch expressions and case ranges – Pinku Surana
- Simplified Varargs Method Invocation – Bob Lee

Hi! My name is Alex Miller and I live in St. Louis. I write code for a living and currently work for
Hmm, should I copy&paste my comments on same topic in an other blog, or give an URL? Ok, here’s the URL:
http://blogs.sun.com/darcy/entry/project_coin_week_1_update
One more reason for the necessity of a a Wiki for Project Coin.
Crap, not sure how I missed it but I hadn’t seen Joe’s summary! That’s what being on an airplane all weekend will do.
And the mocking continues apace, now under a new rallying cry:
Project Wallet: Why Settle for a Handful of Coins? :)
Josh Bloch said “the solution on page 88 of Bloch
and Gafter’s *Java Puzzlers* (Addison-Wesley, 2006) is badly broken, and no one ever noticed” in his proposal. Anybody knows what is wrong with it?
String Literals ? wow, wasnt expecting that. Java7 might be cool.
The problem is that we silently ignore exceptions thrown by the close of the file that was open for write. These exceptions indicate that the copy operation failed!
Josh