incubator-kato-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From monte...@apache.org
Subject svn commit: r892275 - in /incubator/kato/trunk/org.apache.kato/kato.tck: scenarios/142/src/main/java/org/apache/kato/tck/scenario142/javaruntime/ testcases/src/main/java/org/apache/kato/tck/scenario142/javaruntime/
Date Fri, 18 Dec 2009 15:27:36 GMT
Author: monteith
Date: Fri Dec 18 15:27:35 2009
New Revision: 892275

URL: http://svn.apache.org/viewvc?rev=892275&view=rev
Log:
Fix buglets in new testcase.

Modified:
    incubator/kato/trunk/org.apache.kato/kato.tck/scenarios/142/src/main/java/org/apache/kato/tck/scenario142/javaruntime/SetupJavaClass_uninitialized.java
    incubator/kato/trunk/org.apache.kato/kato.tck/testcases/src/main/java/org/apache/kato/tck/scenario142/javaruntime/AllTests.java

Modified: incubator/kato/trunk/org.apache.kato/kato.tck/scenarios/142/src/main/java/org/apache/kato/tck/scenario142/javaruntime/SetupJavaClass_uninitialized.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck/scenarios/142/src/main/java/org/apache/kato/tck/scenario142/javaruntime/SetupJavaClass_uninitialized.java?rev=892275&r1=892274&r2=892275&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck/scenarios/142/src/main/java/org/apache/kato/tck/scenario142/javaruntime/SetupJavaClass_uninitialized.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck/scenarios/142/src/main/java/org/apache/kato/tck/scenario142/javaruntime/SetupJavaClass_uninitialized.java
Fri Dec 18 15:27:35 2009
@@ -55,7 +55,7 @@
 					SetupJavaClass_uninitialized.this.notify();					
 				}
 				// This call loads the class and initialises it.
-				Class clazz = Class.forName("BlockedClass");
+				Class clazz = Class.forName( this.getClass().getPackage().getName().replace('.', '/').concat("BlockedClass"));
 			} catch (ClassNotFoundException e) {
 				e.printStackTrace();
 			}

Modified: incubator/kato/trunk/org.apache.kato/kato.tck/testcases/src/main/java/org/apache/kato/tck/scenario142/javaruntime/AllTests.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck/testcases/src/main/java/org/apache/kato/tck/scenario142/javaruntime/AllTests.java?rev=892275&r1=892274&r2=892275&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck/testcases/src/main/java/org/apache/kato/tck/scenario142/javaruntime/AllTests.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck/testcases/src/main/java/org/apache/kato/tck/scenario142/javaruntime/AllTests.java
Fri Dec 18 15:27:35 2009
@@ -37,6 +37,7 @@
 		suite.addTestSuite(TestJavaObject_arraycopy.class);
 		suite.addTestSuite(TestJavaRuntime.class);
 		suite.addTestSuite(TestJavaClass_getName.class);
+		suite.addTestSuite(TestJavaClass_uninitialized.class);
 		suite.addTestSuite(TestJavaRuntime_getHeapRoots.class);
 		suite.addTestSuite(TestJavaField_getByte.class);
 		suite.addTestSuite(TestJavaField_getModifiers.class);



Mime
View raw message