Re: Possible stack frame calc dead code bug again!
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <1295053438.11925351315592870839.JavaMail.root@zimbra7-e1.priv.proxad.net> |
can you also give the ASMifier code to produce the class, so that we have the original bytecode (i.e. before ClassWriter replaces deadcode with NOPs)? Eric Charles Oliver Nutter wrote: > Hello everyone, it's your friendly neighborhood compiler writer who > refuses to remove dead code! > > We have a similar case to the previous bug, though this one appears > to > only fail verification on Java 7...not on Java 6. > > The bytecode that fails is shown here: > https://gist.github.com/8899f7b0c7f8cd741ef8 > > The error: > > Stack map does not match the one at exception handler 56 in method > blah.block_0$RUBY$__file__(Lblah;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject; > at offset 29 > java.lang.VerifyError: Stack map does not match the one at exception > handler 56 in method > blah.block_0$RUBY$__file__(Lblah;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject; > at offset 29 > > Other than the version number 51 in the class file, the same bytecode > verifies on Java 6. Something got stricter in 7? Something broke? > > I've attached a zip containing the class file and the full output of > dumping the entire class's bytecode. > > This is running on RC1ish (custom build). > > Help?! > > - Charlie > > > -- > 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
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