harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sjanu...@apache.org
Subject svn commit: r691195 - /harmony/enhanced/classlib/trunk/modules/pack200/src/test/java/org/apache/harmony/unpack200/tests/BcBandsTest.java
Date Tue, 02 Sep 2008 10:55:20 GMT
Author: sjanuary
Date: Tue Sep  2 03:55:19 2008
New Revision: 691195

URL: http://svn.apache.org/viewvc?rev=691195&view=rev
Log:
Fix failing pack200 test

Modified:
    harmony/enhanced/classlib/trunk/modules/pack200/src/test/java/org/apache/harmony/unpack200/tests/BcBandsTest.java

Modified: harmony/enhanced/classlib/trunk/modules/pack200/src/test/java/org/apache/harmony/unpack200/tests/BcBandsTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/pack200/src/test/java/org/apache/harmony/unpack200/tests/BcBandsTest.java?rev=691195&r1=691194&r2=691195&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/pack200/src/test/java/org/apache/harmony/unpack200/tests/BcBandsTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/pack200/src/test/java/org/apache/harmony/unpack200/tests/BcBandsTest.java
Tue Sep  2 03:55:19 2008
@@ -146,6 +146,14 @@
             return new int[totalMethods];
         }
 
+        public boolean[] getCodeHasAttributes() {
+            int totalMethods = 0;
+            for (int i = 0; i < numClasses; i++) {
+                totalMethods += numMethods[i];
+            }
+            return new boolean[totalMethods];
+        }
+
         public String[][] getMethodDescr() {
             String[][] descr = new String[numClasses][];
             for (int i = 0; i < descr.length; i++) {



Mime
View raw message