This is the mail archive of the
mauve-patches@sources.redhat.com
mailing list for the Mauve project.
Patch: FYI: New test for jar: URLs with fragments
- From: Ziga Mahkovec <ziga dot mahkovec at klika dot si>
- To: mauve-patches at sources dot redhat dot com
- Date: Thu, 09 Jun 2005 21:43:31 +0200
- Subject: Patch: FYI: New test for jar: URLs with fragments
I committed a new test exposing Classpath bug #13353:
https://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=13353
--
Ziga
2005-06-09 Ziga Mahkovec <ziga.mahkovec@klika.si>
New test for Classpath bug #13353:
* gnu/testlet/java/net/URL/newURL.java: New test for jar: URLs with
fragments.
Index: gnu/testlet/java/net/URL/newURL.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/java/net/URL/newURL.java,v
retrieving revision 1.2
diff -u -r1.2 newURL.java
--- gnu/testlet/java/net/URL/newURL.java 13 Nov 2003 22:52:35 -0000 1.2
+++ gnu/testlet/java/net/URL/newURL.java 9 Jun 2005 18:55:25 -0000
@@ -84,6 +84,9 @@
check("jar:http://www.kaffe.org/foo/bar.jar!/",
"/float/boat",
"jar:http://www.kaffe.org/foo/bar.jar!/float/boat");
+ check("jar:http://www.kaffe.org/foo/bar.jar!/float",
+ "#boat",
+ "jar:http://www.kaffe.org/foo/bar.jar!/float#boat");
check(null,
"http://www.kaffe.org:99999/foo/bar",
"http://www.kaffe.org:99999/foo/bar");