From 884d6b5460be23e12f82f29501f07b5b771e012d Mon Sep 17 00:00:00 2001 From: "Kevin W. Sutter" Date: Mon, 17 Sep 2007 18:12:46 +0000 Subject: [PATCH] OPENJPA-367. Committing Albert's patch (since he doesn't have his committer karma quite yet...). git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@576552 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/openjpa/enhance/PCEnhancer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java b/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java index 6f994b7f9..666293ac1 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java @@ -4338,7 +4338,7 @@ public class PCEnhancer { log.trace(_loc.get("enhance-running", o)); if (o instanceof String) - bc = project.loadClass((String) o); + bc = project.loadClass((String) o, loader); else bc = project.loadClass((Class) o); enhancer = new PCEnhancer(conf, bc, repos, loader);