gcc/libjava/java
Per Bothner 9abe2e29b4 URL.java (getPath): New JDK 1.3 method.
* java/net/URL.java (getPath):  New JDK 1.3 method.

	* java/net/URLStreamHandler.java (parseURL):
	It is wrong to prepend '/' to the file part of a relative url.

	* java/net/URLStreamHandler.java (parseURL):
	Minor optizations - append '/' rather than "/".

	* java/net/URLStreamHandler.java (parseURL):
	Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
	We probably should canonicalize for a context-relative url, though.
	* java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
	* java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
	(sameFile):  New method.  Uses canonicalizeFilename.

From-SVN: r49980
2002-02-22 16:15:49 -08:00
..
applet Add license clarification. 2002-01-22 22:40:42 +00:00
awt List.java (addNotify): Correctly check to see if peer does not exist. 2002-01-30 02:47:48 +00:00
beans Add license clarification. 2002-01-22 22:40:42 +00:00
io natFilePosix.cc: Copied this from natFile.cc. 2002-02-12 05:52:33 +00:00
lang natSystem.cc (init_properties): Include the `Inc.' in java.vendor and java.vm.vendor. 2002-02-22 23:24:45 +00:00
math [multiple changes] 2002-02-14 23:16:11 +00:00
net URL.java (getPath): New JDK 1.3 method. 2002-02-22 16:15:49 -08:00
rmi [multiple changes] 2002-02-14 23:16:11 +00:00
security [multiple changes] 2002-02-14 23:16:11 +00:00
sql Add license clarification. 2002-01-22 22:40:42 +00:00
text Add license clarification. 2002-01-22 22:40:42 +00:00
util [multiple changes] 2002-02-14 23:16:11 +00:00