db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject [db-jdo] 41/43: JDO-534 fixed
Date Fri, 07 May 2021 23:12:23 GMT
This is an automated email from the ASF dual-hosted git repository.

clr pushed a commit to branch origin/2.0.1
in repository https://gitbox.apache.org/repos/asf/db-jdo.git

commit 25b58751e71fe642e947a323b5e4c3490815df19
Author: Michelle Caisse <mcaisse@apache.org>
AuthorDate: Fri Oct 5 23:17:31 2007 +0000

    JDO-534 fixed
---
 .../java/org/apache/jdo/tck/util/signature/SignatureVerifier.java    | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tck20/src/java/org/apache/jdo/tck/util/signature/SignatureVerifier.java b/tck20/src/java/org/apache/jdo/tck/util/signature/SignatureVerifier.java
index aebcafa..78bd1ec 100644
--- a/tck20/src/java/org/apache/jdo/tck/util/signature/SignatureVerifier.java
+++ b/tck20/src/java/org/apache/jdo/tck/util/signature/SignatureVerifier.java
@@ -268,11 +268,14 @@ public class SignatureVerifier {
         // load class
         try {
             final String r = TypeHelper.reflectionTypeName(userTypeName);
-            cls = classLoader.loadClass(r);
+           // System.out.println("userTypeName is " + userTypeName 
+           //    + "  reflectionTypeName is " + r);
+            cls = Class.forName(r, false, classLoader);
             loading.add(userTypeName);
         } catch (LinkageError err) {
             handleNotLoading(err);
         } catch (ClassNotFoundException ex) {
+            ex.printStackTrace();
             handleNotLoading(ex);
         }
         return cls;

Mime
View raw message