DO NOT REPLY [Bug 37539] New: - [collections] Error in deserialization of full BoundedFifoBuffer

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

DO NOT REPLY [Bug 37539] New: - [collections] Error in deserialization of full BoundedFifoBuffer

Bugzilla from bugzilla@apache.org
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=37539>.
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=37539

           Summary: [collections] Error in deserialization of full
                    BoundedFifoBuffer
           Product: Commons
           Version: 3.1
          Platform: All
               URL: http://jakarta.apache.org/commons/collections/api-
                    release/org/apache/commons/collections/buffer/BoundedFif
                    oBuffer.html
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Collections
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]
                CC: [hidden email]


If a BoundedFifoBuffer is serialized and then deserialized the value of the end
attribute is set to the max size of the Buffer which is a fault and causes an
ArrayIndexOutOfBoundException during add(object). In this case the value of end
must be set to 0 in the deserialization.

--
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

memory:// protocol implementation

Mark Proctor-4
Anyone know of a memory:// protocol implementation for URLs? I'm
guessing it will need implementations for MemoryURLStreamHandler,
MemoryURLStreamHandlerFactory, MemoryURLConnect and should be able to
work with URLClassLoaders - would have thought this would be in commons io.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: memory:// protocol implementation

Mario Ivankovits
Mark Proctor wrote:
> Anyone know of a memory:// protocol implementation for URLs? I'm
> guessing it will need implementations for MemoryURLStreamHandler,
> MemoryURLStreamHandlerFactory, MemoryURLConnect and should be able to
> work with URLClassLoaders - would have thought this would be in
> commons io.
The next version of commons-vfs will have a ramfs://
As always in VFS it is able to use it through URLs and in classloaders.

---
Mario


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]