You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by sj...@apache.org on 2008/09/08 17:47:56 UTC
svn commit: r693140 -
/harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/unpack200/ClassBands.java
Author: sjanuary
Date: Mon Sep 8 08:47:55 2008
New Revision: 693140
URL: http://svn.apache.org/viewvc?rev=693140&view=rev
Log:
Pack200 - Order class file attributes for methods correctly
Modified:
harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/unpack200/ClassBands.java
Modified: harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/unpack200/ClassBands.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/unpack200/ClassBands.java?rev=693140&r1=693139&r2=693140&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/unpack200/ClassBands.java (original)
+++ harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/unpack200/ClassBands.java Mon Sep 8 08:47:55 2008
@@ -406,9 +406,6 @@
exceptionClasses));
methodExceptionsIndex++;
}
- if (deprecatedLayout.matches(flag)) {
- methodAttributes[i][j].add(new DeprecatedAttribute());
- }
if (methodSignatureLayout.matches(flag)) {
// We've got a signature attribute
long result = methodSignatureRS[methodSignatureIndex];
@@ -425,6 +422,9 @@
.add(new SignatureAttribute(value));
methodSignatureIndex++;
}
+ if (deprecatedLayout.matches(flag)) {
+ methodAttributes[i][j].add(new DeprecatedAttribute());
+ }
// Non-predefined attributes
for (int k = 0; k < otherLayouts.length; k++) {
if (otherLayouts[k] != null