I'm checking this in.
This fixes a constructor according to 1.5, as found by japi.
Tom
2006-04-26 Tom Tromey <[EMAIL PROTECTED]>
* javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
throw IOException.
Index: javax/net/ssl/HttpsURLConnection.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/net/ssl/HttpsURLConnection.java,v
retrieving revision 1.3
diff -u -r1.3 HttpsURLConnection.java
--- javax/net/ssl/HttpsURLConnection.java 2 Jul 2005 20:32:45 -0000
1.3
+++ javax/net/ssl/HttpsURLConnection.java 26 Apr 2006 15:27:11 -0000
@@ -1,5 +1,5 @@
/* HttpsURLConnection.java -- an HTTPS connection.
- Copyright (C) 2004 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2006 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -38,7 +38,6 @@
package javax.net.ssl;
-import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
import java.security.cert.Certificate;
@@ -90,9 +89,10 @@
* Creates a new HTTPS URL connection.
*
* @param url The URL of the connection being established.
- * @throws IOException If the connection cannot be established.
+ * @specnote This was marked as throwing IOException in 1.4,
+ * but this was removed in 1.5.
*/
- protected HttpsURLConnection(URL url) throws IOException
+ protected HttpsURLConnection(URL url)
{
super(url);
}