From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30527 invoked by alias); 7 Dec 2006 21:44:44 -0000 Received: (qmail 30519 invoked by uid 22791); 7 Dec 2006 21:44:43 -0000 X-Spam-Check-By: sourceware.org Received: from wildebeest.demon.nl (HELO gnu.wildebeest.org) (83.160.170.119) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 07 Dec 2006 21:44:34 +0000 Received: from dijkstra.wildebeest.org ([192.168.1.29]) by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian)) id 1GsR2o-0004O8-00 for ; Thu, 07 Dec 2006 22:44:42 +0100 Subject: New URLTest From: Mark Wielaard To: mauve-patches Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-p2EQ4DcX5bS4MGLEtHIt" Date: Thu, 07 Dec 2006 21:44:00 -0000 Message-Id: <1165527867.3009.36.camel@dijkstra.wildebeest.org> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 (2.6.3-1.fc5.5) X-IsSubscribed: yes Mailing-List: contact mauve-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-patches-owner@sourceware.org X-SW-Source: 2006/txt/msg00762.txt.bz2 --=-p2EQ4DcX5bS4MGLEtHIt Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Content-length: 1239 Hi, Roman found a bug in classpath URLStreamHandler handling while writing/testing jgecko. This adds a test for this case. 2006-12-07 Mark Wielaard * gnu/testlet/java/net/URL/URLTest.java: Add test for jar base with full http spec. Committed, Mark Index: gnu/testlet/java/net/URL/URLTest.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/mauve/mauve/gnu/testlet/java/net/URL/URLTest.java,v retrieving revision 1.19 diff -u -r1.19 URLTest.java --- gnu/testlet/java/net/URL/URLTest.java 27 Jul 2006 15:54:57 -0000 1.19 +++ gnu/testlet/java/net/URL/URLTest.java 7 Dec 2006 21:41:54 -0000 @@ -340,6 +340,17 @@ harness.check(false); harness.debug(_); } + + harness.checkPoint("jar base with full http spec"); + try { + URL base =3D new URL("jar:file:///test.jar!/foo/bar.txt"); + URL other =3D new URL(base, "http://planet.classpath.org/"); + harness.check(other.toString(), + "http://planet.classpath.org/"); + } catch (IOException _) { + harness.check(false); + harness.debug(_); + } } =20 =20 --=-p2EQ4DcX5bS4MGLEtHIt Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBFeIs7xVhZCJWr9QwRAju0AJ9mmwEDQkU7Yv7qymPBvfZika+P9QCgnZWs /MceOuFlKzdRemYP/1dlW5Y= =24RM -----END PGP SIGNATURE----- --=-p2EQ4DcX5bS4MGLEtHIt--