This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tree-ssa] Gimplifying jsr


On Thu, 19 Jun 2003, 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]