[
https://jira.jboss.org/jira/browse/EJBTHREE-1626?page=com.atlassian.jira....
]
Andrew Lee Rubinger commented on EJBTHREE-1626:
-----------------------------------------------
Calling logic should look like:
Class<?> possiblePrimitiveClass = Class.forName(className,false,new
PrimitiveCapableClassLoader(Thread.currentThread().getContextClassLoader()));
Create a ClassLoader capable of loading Primitives
--------------------------------------------------
Key: EJBTHREE-1626
URL:
https://jira.jboss.org/jira/browse/EJBTHREE-1626
Project: EJB 3.0
Issue Type: Task
Components: common
Reporter: Andrew Lee Rubinger
Assignee: Andrew Lee Rubinger
Fix For: 1.0.0-CR1
In some instances we must load the class for primitives ie:
void.class
double.class
Centralize this logic in a PrimitiveCapableClassLoader(ClassLoader parent) which follows
a child-first delegation model to handle primitives, and if not, go to the parent.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira