bug-classpath
[Top][All Lists]
Advanced

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

[Bug classpath/25699] javax.crypto.CipherInputStream.available() returns


From: cvs-commit at developer dot classpath dot org
Subject: [Bug classpath/25699] javax.crypto.CipherInputStream.available() returns -1
Date: 7 Jan 2006 07:00:19 -0000


------- Comment #4 from cvs-commit at developer dot classpath dot org  
2006-01-07 07:00 -------
Subject: Bug 25699

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Casey Marshall <address@hidden> 06/01/07 06:58:38

Modified files:
        .              : ChangeLog 
        javax/crypto   : CipherInputStream.java 

Log message:
        2006-01-06  Casey Marshall  <address@hidden>

        PR classpath/25699
        * javax/crypto/CipherInputStream.java (logger): new constant.
        (cipher): make final.
        (outLength, inBuffer, inLength): removed.
        (isStream): make final.
        (VIRGIN, LIVING, DYING, DEAD, state): removed.
        (eof): new field.
        (<init>): call `super,' not `this;' remove `inBuffer' and
        `outBuffer' initialization; init `eof;' add debug logging.
        (<init>): call `this' with a new null cipher.
        (available): fix javadoc to reflect the real semantics; if we
        don't have a buffer, call `nextBlock.'
        (close): synchronize.
        (read): synchronize; fix testing for buffered data.
        (read): synchronize; add `skip' semantics if first argument is
        `null;' decrypt stream cipher data only if there is any; fix tests
        for buffered data.
        (skip): stop using `available' to see how many data are buffered.
        (nextBlock): simplify to use cipher-allocated output buffers
        instead of internally allocated ones.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5958&tr2=1.5959&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/crypto/CipherInputStream.java.diff?tr1=1.3&tr2=1.4&r1=text&r2=text


-- 


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





reply via email to

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