You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Rudy De Busscher (JIRA)" <de...@myfaces.apache.org> on 2011/05/27 09:06:47 UTC
[jira] [Created] (MYFACESTEST-54) TestPerClassLoader JUnit runner
should set classloader on Thread Context
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
[jira] [Resolved] (MYFACESTEST-54) TestPerClassLoader JUnit runner
should set classloader on Thread Context
Posted by "Rudy De Busscher (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACESTEST-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rudy De Busscher resolved MYFACESTEST-54.
-----------------------------------------
Resolution: Fixed
Fix Version/s: 1.0.4-SNAPSHOT
> 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
> Fix For: 1.0.4-SNAPSHOT
>
>
> 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