harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sjanu...@apache.org
Subject svn commit: r643864 - /harmony/enhanced/classlib/trunk/modules/pack200/src/test/java/org/apache/harmony/pack200/tests/bytecode/ConstantPoolTest.java
Date Wed, 02 Apr 2008 12:05:39 GMT
Author: sjanuary
Date: Wed Apr  2 05:05:36 2008
New Revision: 643864

URL: http://svn.apache.org/viewvc?rev=643864&view=rev
Log:
Apply patch for HARMONY-5677 ([classlib][pack200] Removed unnecessary sort code)

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

Modified: harmony/enhanced/classlib/trunk/modules/pack200/src/test/java/org/apache/harmony/pack200/tests/bytecode/ConstantPoolTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/pack200/src/test/java/org/apache/harmony/pack200/tests/bytecode/ConstantPoolTest.java?rev=643864&r1=643863&r2=643864&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/pack200/src/test/java/org/apache/harmony/pack200/tests/bytecode/ConstantPoolTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/pack200/src/test/java/org/apache/harmony/pack200/tests/bytecode/ConstantPoolTest.java
Wed Apr  2 05:05:36 2008
@@ -18,6 +18,7 @@
 
 import junit.framework.TestCase;
 
+import org.apache.harmony.pack200.Segment;
 import org.apache.harmony.pack200.bytecode.CPClass;
 import org.apache.harmony.pack200.bytecode.CPMember;
 import org.apache.harmony.pack200.bytecode.CPUTF8;
@@ -48,7 +49,7 @@
 		pool.add(new CPUTF8("OtherThing", ClassConstantPool.DOMAIN_NORMALASCIIZ));
 		CPUTF8 u1 = new CPUTF8("thing", ClassConstantPool.DOMAIN_NORMALASCIIZ);
 		pool.add(u1);
-		pool.resolve();
+		pool.resolve(new Segment());
 		assertTrue(pool.indexOf(u1) > 0);
 	}
 	



Mime
View raw message