mirror of https://github.com/apache/openjpa.git
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:
parent
44c08403ac
commit
884d6b5460
|
@ -4338,7 +4338,7 @@ public class PCEnhancer {
|
||||||
log.trace(_loc.get("enhance-running", o));
|
log.trace(_loc.get("enhance-running", o));
|
||||||
|
|
||||||
if (o instanceof String)
|
if (o instanceof String)
|
||||||
bc = project.loadClass((String) o);
|
bc = project.loadClass((String) o, loader);
|
||||||
else
|
else
|
||||||
bc = project.loadClass((Class) o);
|
bc = project.loadClass((Class) o);
|
||||||
enhancer = new PCEnhancer(conf, bc, repos, loader);
|
enhancer = new PCEnhancer(conf, bc, repos, loader);
|
||||||
|
|
Loading…
Reference in New Issue