Name: jl125535 Date: 11/14/2003 URL OF PROBLEM DOCUMENTATION : http://java.sun.com/j2se/1.4.2/docs/api/java/io/ObjectInputStream.html#available() http://developer.java.sun.com/developer/bugParade/bugs/4032352.html A DESCRIPTION OF THE PROBLEM : The behavior of java.io.ObjectInputStream.available() does not match the documentation in the API, "Returns the number of bytes that can be read without blocking." I have read of developers having trouble using this method, myself having lost significant time on this issue (trying first to figure out what I had done wrong). Could someone enhance or correct the API for this method to have some useful information such as that mentioned in bug #4032352, instead of the misleading statements currently there? STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : 1. Read the API for java.io.ObjectInputStream.available(). 2. Compare that to the bug #4032352. (Incident Review ID: 179376) ======================================================================
|