Re: ASM 4.0 RC2: Revisiting the NOP ATHROW bug

"[email protected]" <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <CAOrbxLRGTea62AM6U5+kFhnC0tWspjEf0-A+JDTDc=Caeud7zA@mail.gmail.com>
On Sun, Oct 23, 2011 at 12:55 AM, Eric Bruneton <[email protected]> wrote:
>
> Indeed we need the whole output of the ASMifier (put just before or instead
> of the ClassWriter). Here we don't have the definition of the try/catch
> block, definition of label l5 is missing, etc).


Sorry my bad. Let me try that again. So in Jython I'm trying to compile this
piece of code:

def addpackage(sitedir, name, known_paths):
    print ""
    try:
        f = open("StackOverflow")
    except IOError:
        return
    return f

Which generates this byte code:
http://pylonshq.com/pasties/8cc9f1cdc81cacd6c79c7e13b672cb70
and the ASM code is here:
http://pylonshq.com/pasties/dadd69ba6b9127c8487df5d6cc29cdf8

I've just included the byte code and ASM code for this particular function.
Hopefully this time it makes sense.

Eric
>

Thanks,
Shashank

-- 
Shashank Bharadwaj
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.