[tree-ssa] Gimplifying jsr
tm_gccmail@mail.kloo.net
tm_gccmail@mail.kloo.net
Sat Jun 21 00:34:00 GMT 2003
On 2003年6月19日, Eric Blake wrote:
> By the way, Sun is considering deprecating jsr and return in their JDK
> 1.5 release (and also the JLS 3rd version to be published at that time).
> There are demonstratable cases of legal Java code according to the JLS
> that cannot pass verification according to the JVMS when the compiler
> uses jsr. Sun's suggested replacement is to always inline finally
> statements at all points where they could be invoked.
>> http://developer.java.sun.com/developer/bugParade/bugs/4381996.html
It's already been done for 1.4.2 apparently:
http://java.sun.com/j2se/1.4.2/changes.html#javac
"Bug 4381996 fixed: javac no longer gnerates the jsr isntruction, instead
inlining the finally clause."
It seems likely that JSR/RET support will disappear from JVMs eventually.
Toshi
More information about the Java
mailing list