[ https://issues.apache.org/jira/browse/ARIES-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14631013#comment-14631013 ]
Christian Schneider commented on ARIES-1026: -------------------------------------------- Can you check if this still applies? As I did not change the Temporary Classloader it may still be a problem. Could you maybe create a test case for it so we can track this better? > JPA Temporary classloader cannot traverse the OSGi ClassLoader Graph > -------------------------------------------------------------------- > > Key: ARIES-1026 > URL: https://issues.apache.org/jira/browse/ARIES-1026 > Project: Aries > Issue Type: Bug > Components: JPA > Affects Versions: 1.0 > Reporter: Timothy Ward > Assignee: Timothy Ward > > The JPA container provides a Temporary Classloader to help JPA providers with > Class Transformation. This works reasonably well, but it is possible to break > it: > Bundle A contains an Entity Foo > Bundle A imports a package bar from bundle B > bundle B contains a class bar.Baz which extends a class fizz.Buzz. > Currently the Temporary ClassLoader for A cannot load bar.Baz. It > successfully finds bar.Baz, but when defining it it fails to locate fizz.Buzz > in the context of A. It really needs to look for it in B (without causing the > class to actually be loaded!) -- This message was sent by Atlassian JIRA (v6.3.4#6332)