db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r538728 - /db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/util/signature/SignatureVerifier.java
Date Wed, 16 May 2007 21:00:07 GMT
Author: clr
Date: Wed May 16 14:00:06 2007
New Revision: 538728

URL: http://svn.apache.org/viewvc?view=rev&rev=538728
Log:
JDO-488 Update for Java 1.6 loading array classes by special name, e.g. "L[java.lang.Object;".
Patch submitted by David Ezzio (thanks).

Modified:
    db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/util/signature/SignatureVerifier.java

Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/util/signature/SignatureVerifier.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/util/signature/SignatureVerifier.java?view=diff&rev=538728&r1=538727&r2=538728
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/util/signature/SignatureVerifier.java (original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/util/signature/SignatureVerifier.java Wed
May 16 14:00:06 2007
@@ -269,7 +269,7 @@
         // load class
         try {
             final String r = TypeHelper.reflectionTypeName(userTypeName);
-            cls = classLoader.loadClass(r);
+            cls = Class.forName(r, false, classLoader);
             loading.add(userTypeName);
         } catch (LinkageError err) {
             handleNotLoading(err);



Mime
View raw message