JSRs for Java SE7
JSRs for Java SE7 are out. In terms of language-level changes, I found JSR 334 particularly interesting; proposed changes include:
- strings in switch/case
- multi-catch statements
Makes you wonder why Java didn't have them earlier on. But the most exciting proposal would be JSR 335:
JSR 335: Lambda Expressions for the JavaTM Programming Language
Having to type so much code (class, function, modifiers, return type, etc.) just to create a callback - and a pretty strait-jacketed one at that - is a big turn-off. Hopefully this makes it in. Interestingly, this one's supported by ex-JCP EC Doug Lea and current member Bob Lee.