[Patch] java.io.FileDescriptor
Michael Koch
konqueror@gmx.de
Mon Feb 21 16:13:00 GMT 2005
Hi list,
I commited the attached patch under the "obvious"-rule to merge it from
classpath.
Michael
2005-02-21 Mark Wielaard <mark@klomp.org>
* java/io/FileDescriptor.java (sync): Add real exception to
SyncFailedException.
-------------- next part --------------
Index: java/io//FileDescriptor.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/io/FileDescriptor.java,v
retrieving revision 1.20
diff -u -r1.20 FileDescriptor.java
--- java/io//FileDescriptor.java 9 Oct 2004 10:22:24 -0000 1.20
+++ java/io//FileDescriptor.java 21 Feb 2005 08:29:09 -0000
@@ -120,7 +120,7 @@
if (ex instanceof SyncFailedException)
throw (SyncFailedException) ex;
else
- throw new SyncFailedException(ex.getMessage());
+ throw new SyncFailedException(ex.toString());
}
}
}
More information about the Java-patches
mailing list