[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
java.net.URL authority/userInfo
From: |
Guilhem Lavaux |
Subject: |
java.net.URL authority/userInfo |
Date: |
Tue, 20 Apr 2004 09:19:56 +0200 |
Hi,
Here is a patch for URL.java and URLStreamHandler.java to implement
support for authority and cleanup userInfo handling. I have updated a
small testcase in mauve for authority and there does not seem to be any
regression. Please review.
Cheers,
Guilhem.
ChangeLog entry:
2004-04-20 Guilhem Lavaux <address@hidden>
* java/net/URL.java
(userInfo): New field.
(URL): Set authority to the right value.
(getContent, openStream): Made final as in the Java spec.
(setURL): Fixed authority and file initialization.
* java/net/URLStreamHandler.java
(parseURL): Take care of the query tag. Build authority.
(toExternalForm): Fixed URL building using authority.
url_patch
Description: Text Data
- java.net.URL authority/userInfo,
Guilhem Lavaux <=