Patch to java.net.URLStreamHandler.java
Stephen Crane
kaffe at rufus.w3.org
Sat Jan 30 15:56:56 PST 1999
Hi,
As it stands, this class doesn't conform to the 1.1 spec. There follows
a tiny patch (against yesterday's snapshot):
*** kaffe-snap/libraries/javalib/java/net/URLStreamHandler.java Wed Dec 9 23:20:24 1998
--- /home/jsc/java/java/net/URLStreamHandler.java Sat Jan 30 23:50:47 1999
***************
*** 11,22 ****
package java.net;
import java.lang.String;
abstract public class URLStreamHandler {
public URLStreamHandler() {}
! abstract protected URLConnection openConnection(URL u);
protected void parseURL(URL u, String spec, int start, int limit) {
}
--- 11,23 ----
package java.net;
import java.lang.String;
+ import java.io.IOException;
abstract public class URLStreamHandler {
public URLStreamHandler() {}
! abstract protected URLConnection openConnection(URL u) throws IOException;
protected void parseURL(URL u, String spec, int start, int limit) {
}
More information about the kaffe
mailing list