The following issue has been updated:

    Updater: Chandrashekara K A (mailto:[EMAIL PROTECTED])
       Date: Mon, 22 Nov 2004 5:12 AM
    Comment:
Patch for the bug - fixed by adding a state that remembers the "withParam"-ness 
of the previous cache.

The getNameWithParam had a similar structure. A similar bug was anticipated and 
fixed as well. 
    Changes:
             Attachment changed to patch.diff
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://opensource.atlassian.com/projects/xdoclet/browse/XJD-51?page=history

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XJD-51

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XJD-51
    Summary: getSignature(boolean) uses buggy caching
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: 10 minutes
 Time Spent: Unknown
  Remaining: 10 minutes

    Project: XJavaDoc
   Versions:
             1.1

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Chandrashekara K A

    Created: Mon, 22 Nov 2004 4:09 AM
    Updated: Mon, 22 Nov 2004 5:12 AM
Environment: any

Description:
The code in AbstractExecutableMember.java for publis String 
getSignature(boolean withParm) is buggy.

I have hacked it by turning off the cvaching on _signature. Correct 
implementation should also cache the previous withParm value for which the 
_signature was cached. Otherwise successive calls to getSignature(true) 
getSignature(false) produce the same result (that of the first call).




---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to