AS7-886 any suggestions on fixing PU.getNewTempClassLoader

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

AS7-886 any suggestions on fixing PU.getNewTempClassLoader

Scott Marlow
I'd like to use the JPA persistence unit getNewTempClassLoader with
EclipseLink sometime for 7.1.  Any suggestions how to fix?

Should JPA perhaps duplicate the module classloader logic that reads the
raw VFS classfiles or is there an easier way?  It is probably fine to
delegate to the original module class loader for parent level class
loading but not for loading application classes.

The idea of the JPA PU temp class loader is for accessing app classes,
before the app class loader loads them.

https://github.com/jbossas/jboss-as/blob/master/jpa/core/src/main/java/org/jboss/as/jpa/classloader/TempClassLoader.java 
is not yet working.

Thanks,
Scott
_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev