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
This commit is contained in:
Kevin W. Sutter 2007-09-17 18:12:46 +00:00
parent 44c08403ac
commit 884d6b5460
1 changed files with 1 additions and 1 deletions

View File

@ -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);