I'm committing the attached patch which merges some long-standing changes in InputStream (August '04) to HEAD.
Changelog:
2006-03-26 Tom Tromey <[EMAIL PROTECTED]>
* java/io/InputStream.java (InputStream): Implements Closeable.
--
Andrew :-)
Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
If you use Microsoft Office, support movement towards the end of vendor lock-in:
http://opendocumentfellowship.org/petition/
"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }
Index: java/io/InputStream.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/io/InputStream.java,v
retrieving revision 1.11
diff -u -3 -p -u -r1.11 InputStream.java
--- java/io/InputStream.java 12 Feb 2006 09:40:03 -0000 1.11
+++ java/io/InputStream.java 26 Mar 2006 22:26:18 -0000
@@ -1,5 +1,5 @@
/* InputStream.java -- Base class for input
- Copyright (C) 1998, 1999, 2001, 2005 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2001, 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -48,7 +48,7 @@ package java.io;
* @author Aaron M. Renn ([EMAIL PROTECTED])
* @author Warren Levy ([EMAIL PROTECTED])
*/
-public abstract class InputStream
+public abstract class InputStream implements Closeable
{
/**
* Default, no-arg, public constructor
signature.asc
Description: Digital signature
