* java/net/URL.java
(URL): Change context path to "/" if it is empty.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75264
138bc75d-0d04-0410-961f-
82ee72b054a4
+2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
+
+ * java/net/URL.java
+ (URL): Change context path to "/" if it is empty.
+
2003-12-31 Michael Koch <konqueror@gmx.de>
* testsuite/libjava.mauve/xfails: Removed tests that pass now:
host = context.host;
port = context.port;
file = context.file;
+ if (file == null || file.length() == 0)
+ file = "/";
authority = context.authority;
}
}
host = context.host;
port = context.port;
file = context.file;
+ if (file == null || file.length() == 0)
+ file = "/";
authority = context.authority;
}
else // Protocol NOT specified in spec. and no context available.