Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!news.albasani.net!.POSTED!not-for-mail From: BGB Newsgroups: comp.lang.java.programmer Subject: Re: JDK 1.7 new features Date: Sat, 30 Jul 2011 15:13:27 -0700 Organization: albasani.net Lines: 26 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net 4dodMQuba3dCwI+hAYognciXCnUMj0wWA2Rnx7z+8kf3uGVdCELI0aQGU2+YLV21wtkEc7eKX8dbE7O/mYx8Vw== NNTP-Posting-Date: Sat, 30 Jul 2011 22:18:10 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="vdFi5FCLc2vgpeO80LdchobIJ15c/D469N3/RwIl3jZTkLbHKKX0ah9mcZ+ZXF4jW92zd0bQg1IzzbeYX1xigLW0h0W2Kcis6KDxMy8ut6hAG8JxBzGyrB7HhDQRE7yi"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 In-Reply-To: Cancel-Lock: sha1:HTH8Li/o+Gqf57J/pW58WNqTo8g= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:6695 On 7/29/2011 9:28 AM, Roedy Green wrote: > I was pleased to see some features is JDK 1.7 that I had been asking > for since JDK 1.1. I'm surprised at how little there is new in 1.7. I > guess the recession made Oracle really pull in their horns. It is > mostly just a little syntatic sugar in the compiler. > > binary literals. > underscores in literals to make them easier to proofread > string case labels > catch can handle multiple Exceptions. > > I would think the biggest priority for 1.8 would be unifying arrays > and generics. They should be compatible, even if it means giving up > type erasure. IIRC, there should be several new VM features now, namely the addition of the invokedynamic instruction and method-handles, as well as several new constant-pool entry types, ..., which were planned to be officially made available for the 1.7 release (unless something has changed, from what I read says they should be there). they are mostly intended for aiding in the implementation of dynamic languages on the JVM. I guess maybe by 1.8 there will be lambdas/closures.