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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33934





------- Additional Comments From [EMAIL PROTECTED]  2005-03-11 09:26 -------
Oops - you are right, I missed the paragraph above where the spec says:

... After the doEndTag invocation, the tag handler is available for further 
invocations (and it is expected to have retained its properties.

But it still seems to me that the memory leak is not necessary for the EL 
version of c:set. In SetTag.java, doStartTag() calls evaluateExpressions() 
which means that new values are assigned to the fields value, target and 
property. If these are assigned on every doStartTag() there is no need to 
retain their state after doEndTag(). 

The question may be whether the string "${bean.property}" should be retained 
or the result of the evaluation of that string. c:set retains both but 
discards the result of evaluation on every doStartTag().

So I think its valid to clear value, target and property fields after doEndTag
().


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to