From owner-freebsd-java@FreeBSD.ORG Sun May 17 13:00:35 2009 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 285D11065674 for ; Sun, 17 May 2009 13:00:35 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out1.tiscali.nl (smtp-out1.tiscali.nl [195.241.79.176]) by mx1.freebsd.org (Postfix) with ESMTP id B14A58FC12 for ; Sun, 17 May 2009 13:00:34 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from [212.123.145.58] (helo=sjakie.klop.ws) by smtp-out1.tiscali.nl with esmtp id 1M5ffq-0000Av-EB for ; Sun, 17 May 2009 14:41:02 +0200 Received: from 82-170-177-25.ip.telfort.nl (localhost [127.0.0.1]) by sjakie.klop.ws (Postfix) with ESMTP id EC212BA76 for ; Sun, 17 May 2009 14:41:01 +0200 (CEST) Date: Sun, 17 May 2009 14:41:01 +0200 To: "freebsd-java@freebsd.org" From: "Ronald Klop" Content-Type: multipart/mixed; boundary=----------fDoHFHUzbFgWkG2JbUOAT5 MIME-Version: 1.0 References: <21097791.14281242121898393.JavaMail.tomcat@localhost> Message-ID: In-Reply-To: <21097791.14281242121898393.JavaMail.tomcat@localhost> User-Agent: Opera Mail/9.64 (FreeBSD) Subject: Fwd: openjdk6 error in Locale 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: Sun, 17 May 2009 13:00:35 -0000 ------------fDoHFHUzbFgWkG2JbUOAT5 Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I sent this to the maintainer of the openjdk6 port, but thought it would be good to share it with you to? If I run the attached programm with port java/openjdk6 (b14 and b16) I get this output. displayname: Dutch decimal: . grouping: , dateformat: AD displayname: Dutch (Netherlands) decimal: . grouping: , dateformat: AD If I run it with port java/jdk16 I get. displayname: Dutch decimal: , grouping: . dateformat: AD displayname: Dutch (Netherlands) decimal: , grouping: . dateformat: AD As you see the 'decimal' and 'grouping' are reverted. The last output is correct for The Netherlands. This is all on 7.2-STABLE/amd64. Can you reproduce the problem? And does anybody know how can I fix it? Cheers, Ronald. ------------fDoHFHUzbFgWkG2JbUOAT5 Content-Disposition: attachment; filename=LocaleTest.java Content-Type: application/octet-stream; name=LocaleTest.java Content-Transfer-Encoding: Base64 cGFja2FnZSBubC5yZWFsd29ya3MuYXBwcy5yb25hbGQ7DQoNCmltcG9ydCBqYXZh LnRleHQuRGVjaW1hbEZvcm1hdDsNCmltcG9ydCBqYXZhLnRleHQuRGVjaW1hbEZv cm1hdFN5bWJvbHM7DQppbXBvcnQgamF2YS50ZXh0Lk51bWJlckZvcm1hdDsNCmlt cG9ydCBqYXZhLnV0aWwuTG9jYWxlOw0KDQpwdWJsaWMgY2xhc3MgTG9jYWxlVGVz dCB7DQoNCglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmdbXSBhcmdzKSB7 DQoJCWZvciAoTG9jYWxlIGwgOiBuZXcgTG9jYWxlW10geyBuZXcgTG9jYWxlKCJu bCIpLCBuZXcgTG9jYWxlKCJubCIsICJOTCIpIH0pIHsNCgkJCVN5c3RlbS5vdXQu cHJpbnRsbigiZGlzcGxheW5hbWU6ICIgKyBsLmdldERpc3BsYXlOYW1lKCkpOw0K CQkJRGVjaW1hbEZvcm1hdCBuZiA9IChEZWNpbWFsRm9ybWF0KU51bWJlckZvcm1h dC5nZXROdW1iZXJJbnN0YW5jZShsKTsNCgkJCWZpbmFsIERlY2ltYWxGb3JtYXRT eW1ib2xzIGRlY2ltYWxGb3JtYXRTeW1ib2xzID0gbmYuZ2V0RGVjaW1hbEZvcm1h dFN5bWJvbHMoKTsNCgkJCVN5c3RlbS5vdXQucHJpbnRsbigiZGVjaW1hbDogIiAr IGRlY2ltYWxGb3JtYXRTeW1ib2xzLmdldERlY2ltYWxTZXBhcmF0b3IoKSk7DQoJ CQlTeXN0ZW0ub3V0LnByaW50bG4oImdyb3VwaW5nOiAiICsgZGVjaW1hbEZvcm1h dFN5bWJvbHMuZ2V0R3JvdXBpbmdTZXBhcmF0b3IoKSk7DQoJCX0NCgl9DQp9DQo= ------------fDoHFHUzbFgWkG2JbUOAT5--