Possible stack frame calc dead code bug again!
Charles Oliver Nutter <[email protected]>
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <CAE-f1xQk3Ccb_FHfm7LHxP11_u83mLD2EhrZZ6mC9=-CuLbfxg@mail.gmail.com> |
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
example.zip
(application/zip, 3.2 KB) - not displayed
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