TestPerClassLoader JUnit runner should set classloader on Thread Context
------------------------------------------------------------------------

                 Key: MYFACESTEST-54
                 URL: https://issues.apache.org/jira/browse/MYFACESTEST-54
             Project: MyFaces Test
          Issue Type: Improvement
          Components: Test suites
            Reporter: Rudy De Busscher
            Assignee: Rudy De Busscher


Code that uses the Thread.currentThread().getContextClassLoader() like MyFaces 
impl ClassUtils.classForName method, receives a class from the default 
classloader and not the custom one from the test.

JUnit test runner need to call the 
Thread.currentThread().setContextClassLoader() method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to