[jboss-jira] [JBoss JIRA] Updated: (JBRULES-1297) DroolsCompilerAntTask.java should reset threadContextLoader to original value

Michal Bali (JIRA) jira-events at lists.jboss.org
Wed Oct 24 16:02:01 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBRULES-1297?page=all ]

Michal Bali updated JBRULES-1297:
---------------------------------

    Attachment: droolsAntClasspathFixPatch.txt

This patch should be applied on DroolsCompilerAntTask.java
It modifies the main execute() method to call loader.resetThreadContextLoader();
I can write some tests if needed.

> DroolsCompilerAntTask.java should reset threadContextLoader to original value
> -----------------------------------------------------------------------------
>
>                 Key: JBRULES-1297
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-1297
>             Project: JBoss Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Michal Bali
>         Attachments: droolsAntClasspathFixPatch.txt
>
>
> DroolsCompilerAntTask.java sets the thread context class loader but it is never sets  it back to its original state. This causes problems in subsequent ant task running in the same thread.

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

        



More information about the jboss-jira mailing list