You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Sian January (JIRA)" <ji...@apache.org> on 2008/03/26 16:23:24 UTC

[jira] Resolved: (HARMONY-5652) [classlib][pack200] max_locals computed incorrectly for longs, doubles

     [ https://issues.apache.org/jira/browse/HARMONY-5652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sian January resolved HARMONY-5652.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0M6

Patch applied at r641348.  Please check it was applied as you expected.

> [classlib][pack200] max_locals computed incorrectly for longs, doubles
> ----------------------------------------------------------------------
>
>                 Key: HARMONY-5652
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5652
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: All pack200
>            Reporter: Andrew Cornwall
>            Assignee: Sian January
>             Fix For: 5.0M6
>
>         Attachments: main.patch
>
>
> The value for max_locals is computed incorrectly for all methods which have long or double arguments (type J or type D). For instance, the max_locals for CpField's constructor:
> 	public CPField(CPUTF8 name, CPUTF8 descriptor, long flags, List attributes) {
> 		super(name, descriptor, flags, attributes);
> 	}
> is showing up as max_locals=5, when it should be max_locals=6 (1 for this, 1, for name, 1 for descriptor, 2 for flags, 1 for attributes).

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