Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #6695

Re: JDK 1.7 new features

From BGB <cr88192@hotmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: JDK 1.7 new features
Date 2011-07-30 15:13 -0700
Organization albasani.net
Message-ID <j11vv1$9fa$1@news.albasani.net> (permalink)
References <kkn537dat849nmceipsqca1lfit0hvdq7s@4ax.com>

Show all headers | View raw


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.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar


Thread

JDK 1.7 new features Roedy Green <see_website@mindprod.com.invalid> - 2011-07-29 09:28 -0700
  Re: JDK 1.7 new features Roedy Green <see_website@mindprod.com.invalid> - 2011-07-30 13:47 -0700
    Re: JDK 1.7 new features Stanimir Stamenkov <s7an10@netscape.net> - 2011-07-30 23:57 +0300
  Re: JDK 1.7 new features BGB <cr88192@hotmail.com> - 2011-07-30 15:13 -0700

csiph-web