bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/26314] ChunkedInputStream.skip() badly broken.


From: daney at gcc dot gnu dot org
Subject: [Bug classpath/26314] ChunkedInputStream.skip() badly broken.
Date: 27 Feb 2006 22:53:33 -0000


------- Comment #1 from daney at gcc dot gnu dot org  2006-02-27 22:53 -------
Fixed with this patch to classpath:

2006-02-27  David Daney  <address@hidden>

        PR classpath/26312
        * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
        up.
        (ChunkedInputStream): Extend InputStream.
        (in): New field.
        (headers): Moved to top of class.
        (constructor): Save referenct to in.
        (read(byte[])): Removed method.
        (read(byte[], int, int)): Made synchronized and throw IOException
        on error parsing chunk header.
        (available): New method.
        (close): New method.


-- 

daney at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |0.21


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26314





reply via email to

[Prev in Thread] Current Thread [Next in Thread]