From owner-freebsd-java@FreeBSD.ORG Wed Sep 3 02:36:17 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A8BE1065670 for ; Wed, 3 Sep 2008 02:36:17 +0000 (UTC) (envelope-from freebsd-java@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 188E98FC1E for ; Wed, 3 Sep 2008 02:36:16 +0000 (UTC) (envelope-from freebsd-java@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KaiE8-0001YG-5G for freebsd-java@freebsd.org; Wed, 03 Sep 2008 02:36:12 +0000 Received: from 81.210.229.80 ([81.210.229.80]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Sep 2008 02:36:12 +0000 Received: from saper by 81.210.229.80 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Sep 2008 02:36:12 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-java@freebsd.org From: Marcin Cieslak Date: Wed, 03 Sep 2008 04:35:53 +0200 Lines: 52 Message-ID: <48BDF809.8050802@system.pl> References: <48B29CB7.9010907@cs.vu.nl> <48B6AC4C.1050006@system.pl> <48BBC14A.5000107@NLnetLabs.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enig3BD2B5D82E0963DB9F929ABF" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 81.210.229.80 User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8.1.16) Gecko/20080721 MultiZilla/1.8.3.4e SeaMonkey/1.1.11 In-Reply-To: <48BBC14A.5000107@NLnetLabs.nl> X-Enigmail-Version: 0.95.6 Sender: news Subject: Re: FreeBSD Java, IPv6, and DNS SRV query type X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2008 02:36:17 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3BD2B5D82E0963DB9F929ABF Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: quoted-printable Benno Overeinder wrote: > Just for clarification, you also compiled and installed jdk16 (ports > package java/jdk16)? And the test program also fails to resolve the DN= S > SRV request _xmpp-server._tcp.google.com? The test program is more or > less the isolated code from the Openfire XMPP server. I am sorry - you're right. My jython was hard-coded to use diablo 1.5 and I could get the same result as you using 1.6 compiled from source. There is something wrong how UDP packets are sent to the IPv4-mapped=20 address. I don't understand this fully yet, but I have posted a PR with a sample=20 test case in C: http://www.freebsd.org/cgi/query-pr.cgi?pr=3D127057 Either: 1) structures in the attached C program are incorrect - so then we have=20 a Java bug (or rather in our Java patches) or: 2) something is really strange in the kernel (I doubt that, but...) I've had a quick look at sys/netinet6/udp6_usrreq.c but it looks fine. --Marcin --------------enig3BD2B5D82E0963DB9F929ABF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQCVAwUBSL34DD2W2v2wY27ZAQPsaQP+I7jOaoI8jYggP3yk7cfxpzxzf0vJu3V4 Uze5sPzuKfandpbgE0SO+LuFzykI/u71ewYIcEx0zxyHcsmrd+qOydmAg+ZLZetS 9WKQssPgiJk+wVD8/Ppp9AadJD9fEP43AO2dAZ1y0U1isbQSPXx9rpceO1xcjleL DTX+VnckpGQ= =bAUF -----END PGP SIGNATURE----- --------------enig3BD2B5D82E0963DB9F929ABF--