You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrew Cornwall (JIRA)" <ji...@apache.org> on 2007/12/04 00:19:43 UTC

[jira] Created: (HARMONY-5244) [classlib][pack200] LabelForm target addresses wrong

[classlib][pack200] LabelForm target addresses wrong
----------------------------------------------------

                 Key: HARMONY-5244
                 URL: https://issues.apache.org/jira/browse/HARMONY-5244
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
         Environment: All Pack200
            Reporter: Andrew Cornwall


LabelForm addresses are pointing to BCI-renumbered targets rather than the real targets. This means that all LabelForm targets are incorrect - they jump to the wrong addresses in the code.


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


[jira] Updated: (HARMONY-5244) [classlib][pack200] LabelForm target addresses wrong

Posted by "Andrew Cornwall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Cornwall updated HARMONY-5244:
-------------------------------------

    Attachment:     (was: test.patch)

> [classlib][pack200] LabelForm target addresses wrong
> ----------------------------------------------------
>
>                 Key: HARMONY-5244
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5244
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: All Pack200
>            Reporter: Andrew Cornwall
>
> LabelForm addresses are pointing to BCI-renumbered targets rather than the real targets. This means that all LabelForm targets are incorrect - they jump to the wrong addresses in the code.

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


[jira] Commented: (HARMONY-5244) [classlib][pack200] LabelForm target addresses wrong

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12548220 ] 

Tim Ellison commented on HARMONY-5244:
--------------------------------------

Main patch (at least) doesn't apply cleanly, please can you update and recreate.


> [classlib][pack200] LabelForm target addresses wrong
> ----------------------------------------------------
>
>                 Key: HARMONY-5244
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5244
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: All Pack200
>            Reporter: Andrew Cornwall
>         Attachments: main.patch, test.patch
>
>
> LabelForm addresses are pointing to BCI-renumbered targets rather than the real targets. This means that all LabelForm targets are incorrect - they jump to the wrong addresses in the code.

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


[jira] Updated: (HARMONY-5244) [classlib][pack200] LabelForm target addresses wrong

Posted by "Andrew Cornwall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Cornwall updated HARMONY-5244:
-------------------------------------

    Attachment:     (was: main.patch)

> [classlib][pack200] LabelForm target addresses wrong
> ----------------------------------------------------
>
>                 Key: HARMONY-5244
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5244
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: All Pack200
>            Reporter: Andrew Cornwall
>
> LabelForm addresses are pointing to BCI-renumbered targets rather than the real targets. This means that all LabelForm targets are incorrect - they jump to the wrong addresses in the code.

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


[jira] Updated: (HARMONY-5244) [classlib][pack200] LabelForm target addresses wrong

Posted by "Andrew Cornwall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Cornwall updated HARMONY-5244:
-------------------------------------

    Attachment: test.patch
                main.patch

The attached two files (main.patch and test.patch) provide a fix for the BCI-renumbering issue. They also add code to support  BCI-renumbering of LocalVariableTableAttributes, but leave it disabled for now since it's currently not renumbering correctly.

This also makes a fix to invokespecial_new_init - it was using the wrong bytecode, which will cause class verification errors.

> [classlib][pack200] LabelForm target addresses wrong
> ----------------------------------------------------
>
>                 Key: HARMONY-5244
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5244
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: All Pack200
>            Reporter: Andrew Cornwall
>         Attachments: main.patch, test.patch
>
>
> LabelForm addresses are pointing to BCI-renumbered targets rather than the real targets. This means that all LabelForm targets are incorrect - they jump to the wrong addresses in the code.

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


[jira] Closed: (HARMONY-5244) [classlib][pack200] LabelForm target addresses wrong

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Ellison closed HARMONY-5244.
--------------------------------


No response, assuming ok.

> [classlib][pack200] LabelForm target addresses wrong
> ----------------------------------------------------
>
>                 Key: HARMONY-5244
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5244
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: All Pack200
>            Reporter: Andrew Cornwall
>            Assignee: Tim Ellison
>         Attachments: main.patch, test.patch
>
>
> LabelForm addresses are pointing to BCI-renumbered targets rather than the real targets. This means that all LabelForm targets are incorrect - they jump to the wrong addresses in the code.

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


[jira] Assigned: (HARMONY-5244) [classlib][pack200] LabelForm target addresses wrong

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Ellison reassigned HARMONY-5244:
------------------------------------

    Assignee: Tim Ellison

> [classlib][pack200] LabelForm target addresses wrong
> ----------------------------------------------------
>
>                 Key: HARMONY-5244
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5244
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: All Pack200
>            Reporter: Andrew Cornwall
>            Assignee: Tim Ellison
>         Attachments: main.patch, test.patch
>
>
> LabelForm addresses are pointing to BCI-renumbered targets rather than the real targets. This means that all LabelForm targets are incorrect - they jump to the wrong addresses in the code.

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


[jira] Resolved: (HARMONY-5244) [classlib][pack200] LabelForm target addresses wrong

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Ellison resolved HARMONY-5244.
----------------------------------

    Resolution: Fixed

Much better, thanks Andrew.

Patch applied to PACK200 module at repo revision r601041.

Please check it was applied as you expected.


> [classlib][pack200] LabelForm target addresses wrong
> ----------------------------------------------------
>
>                 Key: HARMONY-5244
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5244
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: All Pack200
>            Reporter: Andrew Cornwall
>            Assignee: Tim Ellison
>         Attachments: main.patch, test.patch
>
>
> LabelForm addresses are pointing to BCI-renumbered targets rather than the real targets. This means that all LabelForm targets are incorrect - they jump to the wrong addresses in the code.

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


[jira] Updated: (HARMONY-5244) [classlib][pack200] LabelForm target addresses wrong

Posted by "Andrew Cornwall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Cornwall updated HARMONY-5244:
-------------------------------------

    Attachment: test.patch
                main.patch

My apologies - I had a bug in my build process. I've deleted the old main.patch and test.patch, and added new ones which should work.

> [classlib][pack200] LabelForm target addresses wrong
> ----------------------------------------------------
>
>                 Key: HARMONY-5244
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5244
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: All Pack200
>            Reporter: Andrew Cornwall
>         Attachments: main.patch, test.patch
>
>
> LabelForm addresses are pointing to BCI-renumbered targets rather than the real targets. This means that all LabelForm targets are incorrect - they jump to the wrong addresses in the code.

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