harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Cornwall (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-5388) [pack200][classlib] Label bytecode offsets can be incorrect
Date Tue, 15 Jan 2008 16:43:37 GMT

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

Andrew Cornwall commented on HARMONY-5388:
------------------------------------------

Patch was applied as expected. Thanks!


> [pack200][classlib] Label bytecode offsets can be incorrect
> -----------------------------------------------------------
>
>                 Key: HARMONY-5388
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5388
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: All Pack200
>            Reporter: Andrew Cornwall
>            Assignee: Tim Ellison
>         Attachments: main.patch, test.patch
>
>
> Pack200 bytecode offsets are not being calculated correctly when multi-instruction bytecodes
are present in the bytecode stream. This causes a problem for label bytecodes which follow
multi-instruction bytecodes.
> In short, if you have:
> <other bytecodes>
> aload0_*
> <other bytecodes>
> if*, goto*, or jsr*
> then the label of the if*, goto* or jsr* instruction will be off by the number of multi-instruction
bytecodes which come before it. This will usually result in an exception.

-- 
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