Patch: FYI: java.nio patchlet

Tom Tromey tromey@redhat.com
Sun Nov 3 13:23:00 GMT 2002


I've had this in my Classpath tree for a long time but didn't check it
in until today.

This fixes a minor spec divergence.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* java/nio/channels/AlreadyConnectedException.java: Extend
	IllegalStateException, per spec.

Index: java/nio/channels/AlreadyConnectedException.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/nio/channels/AlreadyConnectedException.java,v
retrieving revision 1.1
diff -u -r1.1 AlreadyConnectedException.java
--- java/nio/channels/AlreadyConnectedException.java 7 Oct 2002 07:59:12 -0000 1.1
+++ java/nio/channels/AlreadyConnectedException.java 3 Nov 2002 21:16:19 -0000
@@ -37,13 +37,11 @@
 
 package java.nio.channels;
 
-import java.io.IOException;
+import java.io.*;
 
-public class AlreadyConnectedException extends IOException
+
+public class AlreadyConnectedException extends IllegalStateException
 {
-  /**
-   * Creates the exception
-   */
   public AlreadyConnectedException()
   {
   }



More information about the Java-patches mailing list