openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sutter (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (OPENJPA-372) PCEnhancer throws away its classloader
Date Mon, 17 Sep 2007 19:54:43 GMT

     [ https://issues.apache.org/jira/browse/OPENJPA-372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kevin Sutter resolved OPENJPA-372.
----------------------------------

       Resolution: Duplicate
    Fix Version/s: 1.1.0
                   1.0.1

Resolved via OPENJPA-367.

> PCEnhancer throws away its classloader
> --------------------------------------
>
>                 Key: OPENJPA-372
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-372
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.0.0
>            Reporter: Jonathan Feinberg
>            Priority: Blocker
>             Fix For: 1.0.1, 1.1.0
>
>
> PCEnhancer does not work at all in our build environment, as it is throwing away its
classloader, and can't find anything. Patch:
> --- openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java     (revision
575761)
> +++ openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java     (working
copy)
> @@ -4338,7 +4338,7 @@
>                  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);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message