myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rudy De Busscher (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (MYFACESTEST-54) TestPerClassLoader JUnit runner should set classloader on Thread Context
Date Fri, 27 May 2011 07:06:47 GMT
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

Mime
View raw message