Patch: java.net - userInfo handling in URLs

Michael Koch konqueror@gmx.de
Thu Apr 22 07:07:00 GMT 2004


Hi list,


I just commited the attached patch to merge userInfo support from GNU 
classpath into URLs


Michael


2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>

	* java/net/URLStreamHandler.java
	(parseURL): Convert the file path to using '/' instead of native
	file separator.

2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>

	* java/net/URL.java
	(userInfo): New field.
	(URL): Set authority to the right value.
	(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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: net.diff
Type: text/x-diff
Size: 6827 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040422/b193f3d2/attachment.bin>


More information about the Java-patches mailing list