You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by bu...@apache.org on 2002/04/08 18:08:33 UTC

DO NOT REPLY [Bug 7845] New: - org.apache.avalon.excalibur.collections.VariableSizeBuffer loses data on resize

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=7845>.
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=7845

org.apache.avalon.excalibur.collections.VariableSizeBuffer loses data on resize

           Summary: org.apache.avalon.excalibur.collections.VariableSizeBuff
                    er loses data on resize
           Product: Avalon
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Excalibur
        AssignedTo: avalon-dev@jakarta.apache.org
        ReportedBy: fpopescu@nubridges.com


I have been working with the database pooling part of excalibur and I found a 
bug in the VariableSizeBuffer class. It loses elements on resize due to the 
fact it is a circular buffer which is not rewinded on resize.
I have a simple fix for it (I had to develop it for my project) that consists 
of the way the resize of the buffer is done. If interested in the fix please 
give me instructions on what to do.

I am using excalibur4.1

Thanks,
Florian Popescu

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>