diff options
| author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-23 00:15:49 +0000 |
|---|---|---|
| committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-23 00:15:49 +0000 |
| commit | 0adf119d837133d429298738c4f748391a0fd4f7 (patch) | |
| tree | 81ce5a31be0e237c815380e8e7563a5b5edde010 /libjava/java/security/ProtectionDomain.java | |
| parent | e0d9f0c0b1f53e5478d546c4ec76ba6b11cced54 (diff) | |
| download | ppe42-gcc-0adf119d837133d429298738c4f748391a0fd4f7.tar.gz ppe42-gcc-0adf119d837133d429298738c4f748391a0fd4f7.zip | |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49980 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/security/ProtectionDomain.java')
0 files changed, 0 insertions, 0 deletions

