[ 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to