bug-classpath
[Top][All Lists]
Advanced

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

[Bug classpath/24596] New: Return value of getResourceAsStream().availab


From: freebeans at xqb dot biglobe dot ne dot jp
Subject: [Bug classpath/24596] New: Return value of getResourceAsStream().available() in jar file
Date: 31 Oct 2005 14:56:43 -0000

When getResourceAsStream().available() is called in the class loaded from the
Jar file, the return value is different in GNU Classpath and Sun JDK. 
GNU Classpath:
 getResourceAsStream().available() returns 0 or 1.
Sun's JDK:
 getResourceAsStream().available() returns actual resource size.

This is undocumented behavior, I think it is not a bug.
However, it is thought that it is necessary to match GNU Classpath to the
behavior of Sun, because there is an application that depends on this behavior.


-- 
           Summary: Return value of getResourceAsStream().available() in jar
                    file
           Product: classpath
           Version: 0.18
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: freebeans at xqb dot biglobe dot ne dot jp


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





reply via email to

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