bug-classpath
[Top][All Lists]
Advanced

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

[Bug classpath/26422] New: AudioInputStream.read() should return -1 when


From: freebeans at xqb dot biglobe dot ne dot jp
Subject: [Bug classpath/26422] New: AudioInputStream.read() should return -1 when TargetDataLine is closed.
Date: 22 Feb 2006 15:57:22 -0000

When TargetDataLine is closed, AudioInputStream.read() should return -1.
Because TargetDataLine.read() return value is "the number of bytes actually
read". the read() method never return -1.
http://java.sun.com/j2se/1.5.0/docs/api/javax/sound/sampled/TargetDataLine.html#read(byte[],%20int,%20int)


-- 
           Summary: AudioInputStream.read() should return -1 when
                    TargetDataLine is closed.
           Product: classpath
           Version: 0.20
            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=26422





reply via email to

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