Makefile.am (ordinary_java_source_files): Added new Connection and Handler classes in gnu.gcj.protocol.file package.
* Makefile.am (ordinary_java_source_files): Added new Connection and Handler classes in gnu.gcj.protocol.file package. * Makefile.in: Rebuilt. * gnu/gcj/protocol/file/Connection.java: New file. * gnu/gcj/protocol/file/Handler.java: New file. * gnu/gcj/protocol/http/Connection.java (getInputStream): Check if doInput allows input. (getOutputStream): Check if doOutput allows output. * java/net/URLStreamHandler.java (parseURL): Fix indentation. From-SVN: r26479
This commit is contained in:
parent
30bf7f73a6
commit
d825fa8795
7 changed files with 243 additions and 1 deletions
|
@ -26,7 +26,7 @@ public abstract class URLStreamHandler
|
|||
protected abstract URLConnection openConnection(URL u)
|
||||
throws java.io.IOException;
|
||||
|
||||
protected void parseURL(URL u, String spec, int start, int limit)
|
||||
protected void parseURL(URL u, String spec, int start, int limit)
|
||||
{
|
||||
String tmpStr;
|
||||
String host = ""; // Initialize to null string.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue