harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r413617 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/lang/reflect/ConstructorTest.java
Date Mon, 12 Jun 2006 09:53:59 GMT
Author: tellison
Date: Mon Jun 12 02:53:59 2006
New Revision: 413617

URL: http://svn.apache.org/viewvc?rev=413617&view=rev
Log:
Cast null to avoid compiler warning.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/lang/reflect/ConstructorTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/lang/reflect/ConstructorTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/lang/reflect/ConstructorTest.java?rev=413617&r1=413616&r2=413617&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/lang/reflect/ConstructorTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/lang/reflect/ConstructorTest.java
Mon Jun 12 02:53:59 2006
@@ -204,7 +204,7 @@
 		try {
 			Constructor ctor = new ConstructorTestHelper().getClass()
 					.getConstructor(new Class[0]);
-			test = (ConstructorTestHelper) ctor.newInstance(null);
+			test = (ConstructorTestHelper) ctor.newInstance((Object[])null);
 		} catch (Exception e) {
 			fail("Failed to create instance : " + e.getMessage());
 		}



Mime
View raw message