This is a weekly update on new Java 7 information. All current and previous information is maintained on my Java 7 page.
Java SE 7 build 19 was released last week. You can check out the change list for more info. There were a few changes that caught my eye. One was the AWT item Allow mixing of heavy and lightweight components”. I don’t know much about it but I know this was a long-standing request. There were also some changes with checked collections and checked maps to make things more consistent that were interesting.
I think I also somehow missed build 18 in prior roundups and you can find the change list here. I thought this addition to Collections in build 18 was kind of interesting – they added 3 new methods emptyIterator(), emptyListIterator(), and emptyEnumeration() to support some of the other empty collections.
In JSR 310, the Date and Time API, Stephen Colebourne announced a prototype implementation using generics. Check out the code or the mailing list if you’re interested. Sounds like this is an effort to try out one possible design choice and not necessarily the final generics. I’m sure they’d love feedback on the mailing list.
R.J. Lorimer did a nice writeup on the fork/join library that will be added by an extension of JSR 166 for parallel processing.
Eamonn McManus did a writeup on how it will be possible to define MBeans via annotations.
More info: JSR 255
Types and Generics
Stephen Colebourne put together an entry on self types apparently borne of a weekend of frustration. The comments are worth reading as well.
InfoQ did a review of Neal Gafter’s talk on clsoures at Jazoon ’07 that has some interesting comments as well.
And finally Chris Burnley posted about short instance creation and his ideas that date back to 2004.