You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Guillermo Grandes (JIRA)" <se...@james.apache.org> on 2006/09/18 04:11:23 UTC

[jira] Updated: (JAMES-617) Related to JAMES-418, use Thread.currentThread().getContextClassLoader() in SMTPHandlerChain

     [ http://issues.apache.org/jira/browse/JAMES-617?page=all ]

Guillermo Grandes updated JAMES-617:
------------------------------------

    Attachment: SMTPHandlerChain.java.diff

Attach the diff for correct: SMTPHandlerChain.java.diff (1 line change)

-  ClassLoader classLoader = getClass().getClassLoader();
+  ClassLoader classLoader = Thread.currentThread().getContextClassLoader();


> Related to JAMES-418, use Thread.currentThread().getContextClassLoader() in SMTPHandlerChain
> --------------------------------------------------------------------------------------------
>
>                 Key: JAMES-617
>                 URL: http://issues.apache.org/jira/browse/JAMES-617
>             Project: James
>          Issue Type: Bug
>          Components: SMTPServer
>    Affects Versions: Trunk, 2.3.0rc3
>         Environment: James 3.0 / 2.3.0rc3, Linux
>            Reporter: Guillermo Grandes
>         Attachments: SMTPHandlerChain.java.diff
>
>
> Well, This is related to JAMES-418
> use Thread.currentThread().getContextClassLoader() in org.apache.james.smtpserver.SMTPHandlerChain to load handlers instead of that ugly thing "getClass().getClassLoader()" ;-)
> I am preparing you something beautiful for handlers & mailets that are going you to like :-D

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org