Return-Path: X-Original-To: apmail-myfaces-dev-archive@www.apache.org Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4768843C3 for ; Fri, 27 May 2011 07:07:33 +0000 (UTC) Received: (qmail 75548 invoked by uid 500); 27 May 2011 07:07:32 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 75413 invoked by uid 500); 27 May 2011 07:07:29 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 75305 invoked by uid 99); 27 May 2011 07:07:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 May 2011 07:07:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 May 2011 07:07:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 69B98E20FB for ; Fri, 27 May 2011 07:06:47 +0000 (UTC) Date: Fri, 27 May 2011 07:06:47 +0000 (UTC) From: "Rudy De Busscher (JIRA)" To: dev@myfaces.apache.org Message-ID: <1210323457.48011.1306480007429.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (MYFACESTEST-54) TestPerClassLoader JUnit runner should set classloader on Thread Context MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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