This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: FYI: java.nio patchlet


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()
   {
   }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]