harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Fedotov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-5764) [drlvm][verifier-ext] Incorrect stack map calculation
Date Tue, 29 Apr 2008 17:31:56 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-5764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593058#action_12593058
] 

Alexei Fedotov commented on HARMONY-5764:
-----------------------------------------

An original stack map has [class java/awt/image/BufferedImage] type instead of null in the
local map for the 10-th local. A direct patching of binary to test the guess cannot be made:
a primitive type null consists of one byte (05) while an object requires three bytes (07 +
constant pool index). 

I realized that null != top in stack maps. I have patched null with the top value (0) and
advanced to the next error message. The quick guess about nature of the failure is that the
stack map re-computation facility issues null instead of top. Another guess the map is incorrectly
calculated for this case.



> [drlvm][verifier-ext] Incorrect stack map calculation 
> ------------------------------------------------------
>
>                 Key: HARMONY-5764
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5764
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Win32
>            Reporter: vasily.v.levchenko@gmail.com
>         Attachments: CGProxy.class, java2d.demos.Images.JPEGFlip , java2d.demos.Images.JPEGFlip.javap,
JPEGFlip.class 
>
>
> Incorrect stack map calculation was detected in revision supposed to be M5.5_Eclipse_TPTP

> Exception in thread "main" java.lang.VerifyError: Stack map does not match the one at
exception handler 404 in method java2d.demos.Images.JPEGFlip.render(IILjava/awt/Graphics2D;)V
at offset 399

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message