[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/31649] New: GZIPInputStream constructor should throw EOFE
From: |
jeroen at frijters dot net |
Subject: |
[Bug classpath/31649] New: GZIPInputStream constructor should throw EOFException on empty stream |
Date: |
21 Apr 2007 14:30:16 -0000 |
The following code (adapted from the JRuby test suite) should throw an
EOFException, but doesn't.
import java.util.zip.*;
import java.io.*;
class gzip
{
public static void main(String[] args) throws Exception
{
new GZIPInputStream(new ByteArrayInputStream(new byte[0]));
}
}
--
Summary: GZIPInputStream constructor should throw EOFException on
empty stream
Product: classpath
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: classpath
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jeroen at frijters dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31649
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug classpath/31649] New: GZIPInputStream constructor should throw EOFException on empty stream,
jeroen at frijters dot net <=