openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@apache.org
Subject svn commit: r633326 - /openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceUnitInfoImpl.java
Date Mon, 03 Mar 2008 23:41:27 GMT
Author: pcl
Date: Mon Mar  3 15:41:17 2008
New Revision: 633326

URL: http://svn.apache.org/viewvc?rev=633326&view=rev
Log:
Possible fix for http://www.nabble.com/InstantiationException-in-latest-OpenJPA-build-tp15799949p15799949.html,
which seems to be caused by an attempt to reflectively instantiate a ClassResolverImpl. I've
done zero research into how this regression made its way into the codebase, and have not created
a test case.

Modified:
    openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceUnitInfoImpl.java

Modified: openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceUnitInfoImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceUnitInfoImpl.java?rev=633326&r1=633325&r2=633326&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceUnitInfoImpl.java
(original)
+++ openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceUnitInfoImpl.java
Mon Mar  3 15:41:17 2008
@@ -479,7 +479,7 @@
     /**
      * Simple class resolver built around the persistence unit loader.
      */
-    private static class ClassResolverImpl
+    public static class ClassResolverImpl
         implements ClassResolver {
 
         private final ClassLoader _loader;



Mime
View raw message