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] Created: (HARMONY-5652) [classlib][pack200] max_locals computed incorrectly for longs, doubles
Date Tue, 25 Mar 2008 19:45:24 GMT
[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

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.

View raw message