Update on Coin futures from JavaOne
neal at gafter.com
Sat Nov 12 23:35:17 PST 2011
On Sat, Nov 12, 2011 at 5:33 PM, Joe Darcy <joe.darcy at oracle.com> wrote:
> Above a maintenance threshold, other small language changes will have to
> go through the JEP processes. For example, IMO changing the
> try-with-resources statement to accept an effectively final variable as
> a resource to manage (as opposed to requiring a new variable to be
> declared as done in Java SE 7) would *not* require a JEP.
That's interesting, since a resource, for the purpose
of try-with-resources, was defined as a value that cannot be used again
once closed. Are you imagining that the definite assignment rules would be
modified to produce an error if the variable were referenced after the
try-with-resources statement? Or is this issue too trivial to even discuss?
More information about the coin-dev