From 1b76c6df24d3c731b475e0ede5a56dcec6b89d3e Mon Sep 17 00:00:00 2001 From: Patrick Linskey Date: Mon, 3 Mar 2008 23:41:17 +0000 Subject: [PATCH] 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. git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633326 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/openjpa/persistence/PersistenceUnitInfoImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceUnitInfoImpl.java b/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceUnitInfoImpl.java index c60aff0e5..31bb3f984 100644 --- a/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceUnitInfoImpl.java +++ b/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceUnitInfoImpl.java @@ -479,7 +479,7 @@ public class PersistenceUnitInfoImpl /** * Simple class resolver built around the persistence unit loader. */ - private static class ClassResolverImpl + public static class ClassResolverImpl implements ClassResolver { private final ClassLoader _loader;