DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15281>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15281

TagHandlerPool - missing Tag.release() - calls

           Summary: TagHandlerPool - missing Tag.release() - calls
           Product: Tomcat 4
           Version: 4.1.12
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Jasper 2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If a previously-used Tag-instance is returned to the TagHandlerPool, the 
Tag.release()-method has to be called to reinitialize the (optional) internal 
state of the Tag-instance for later reuse.

Unfortunately this has been omitted...

public class TagHandlerPool {
...
    public synchronized void reuse(Tag handler) {
        if (current < (handlers.length - 1))
            handlers[++current] = handler;
        else
            handler.release();
    }
...
}

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to