
The JVM Summit'10 is finished !
A new release candidate with two bug fixes.
There is a bug IKVM's implementation of java.lang.reflect.Field.set(). The dynamic method that is generated doesn't properly cast the value to the type of the field. This is obviously a bug, but it could also lead to a type safety vulnerability. It is not directly exploitable, because the unverifiable dynamic method will do a full trust security demand and when there is partially trusted code ...
try-with-resources statement.
With Java language changes in progress for JDK 7, such as Project Coin's
strings in switch,
improved exception handling,
and try-with-resources statement,
writing effective regression and unit tests for javac is an integral component of developing the new language features.
I'm talking at JavaOne 2010 on the subject of the "Next Big JVM language" (S314355). I suspect that it might cause some controversey!
Since it's a commonly asked question and source of confusion I thought I'd write up the following.
JDK 7 build 100 is available. Build 100 contains changes to fix build issues on Windows, integrate JAX-WS 2.2 and JAXB 2.2, an implementation of the Simplified Varargs Method Invocation feature from Project Coin as well as a set of improvements across the class library. You can check out the list of changes for details, and get the source code.
I'm happy to announce that starting with a prototype written by Tom Ball, Oracle's javac team has produced and pushed an implementation of the try-with-resources statement, otherwise known as ARM blocks, into JDK 7.
Starting with Project Coin proposal for Automatic Resource Management (ARM)
(Google Docs version),
in consultation with Josh Bloch,
Maurizio,
Jon,
and others, Alex and I have produced a specification for ARM blocks that is much closer to Java Language Specification (JLS) style and rigor.
The specification involves changes to the existing JLS section §14.20 "The try statement," and will eventually introduce a new subsection ...
A new release candidate with two bug fixes.
My two JavaOne talks this year have now been scheduled:
The first 0.44 release candidate is available.
As a follow-up to the initial API changes to support automatic resource management (ARM) I wrote an annotation processor, CloseableFinder, to programmatically look for types that were candidates to be retrofitted as Closeable or AutoCloseable.
JDK 7 build 99 is available. Build 99 contains changes to add support for JSR 292 in C1 and C2 client and server JIT compilers on the SPARC architecture, updating HotSpot to version 19 build 03, as well as JSR 292 adjustments to method handle invocation in the javac compiler and the class library implementation. You can check out the list of changes for ...





