Timothy Ward created ARIES-1026: ----------------------------------- Summary: 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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira