Re: Re: NOP ATHROW hack defeated !

Eric Bruneton <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
18/05/2011 22:28, Charles Oliver Nutter wrote:
> Now I have a case where the ASM dead code rewriting breaks on Java 7
> but not Java 6:
> So it's a while loop with a break inside a rescued method body. The
> code emitted for the while loop looks like this:
>
>     L5
>      LINENUMBER 2 L5
>      GOTO L6
>     L7
>     L8
>      LINENUMBER 3 L8
>      ALOAD 1
>      GETFIELD org/jruby/runtime/ThreadContext.nil :
> Lorg/jruby/runtime/builtin/IRubyObject;
>      GOTO L9
>     L10
>      POP
>     L6
>      ALOAD 9
>      INVOKEINTERFACE org/jruby/runtime/builtin/IRubyObject.isTrue ()Z
>      IFNE L7

can you send us the corresponding ASMifier code (for the whole 
method/class), so that we can reproduce the bug?

Eric
message-footer.txt (text/plain, 238 B)
-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.