From owner-freebsd-java@FreeBSD.ORG Sat Oct 31 16:29:17 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 371A01065679 for ; Sat, 31 Oct 2009 16:29:17 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out0.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by mx1.freebsd.org (Postfix) with ESMTP id C0FA98FC15 for ; Sat, 31 Oct 2009 16:29:16 +0000 (UTC) Received: from [212.123.145.58] (helo=sjakie.klop.ws) by smtp-out0.tiscali.nl with esmtp (Exim) (envelope-from ) id 1N4GpH-00017V-H7; Sat, 31 Oct 2009 17:29:15 +0100 Received: from 82-170-177-25.ip.telfort.nl (localhost [127.0.0.1]) by sjakie.klop.ws (Postfix) with ESMTP id 300D11448A; Sat, 31 Oct 2009 17:29:10 +0100 (CET) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: "Brian Gardner" , freebsd-java@freebsd.org References: Date: Sat, 31 Oct 2009 17:29:09 +0100 MIME-Version: 1.0 From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/10.00 (FreeBSD) Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: openjdk6 b17 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: Sat, 31 Oct 2009 16:29:17 -0000 On Fri, 30 Oct 2009 22:29:38 +0100, Brian Gardner =20 wrote: > Hi everybody, > I've completed the port of openjdk6 from b16 to b17. I've blogged abou= t =20 > the upgrade here: > http://www.getsnappy.com/tech-blog/freebsd-tips-tricks/upgrading-freebs= d-port-javaopenjdk6-from-b16-to-b17/ > > You can download this port and test it before it is committed from: > http://www.getsnappy.com/downloads/openjdk6-b17.tar.gz > > To install the port: > > cd /usr/ports/java > tar -xjf /openjdk6-b17.tar.gz > cd openjdk6-b17 > make > I haven't done any testing yet and before I commit I would like to =20 > address the existing issue with poor font quality. > > Please leave good or bad comments about your experience with the =20 > preliminary build on this mailing list or my blog, so we can speed the = =20 > process of committing a more stable and up-to-date version of Java for = =20 > FreeBSD. Hi, Compiles and runs ok here on 8.0-RC2/amd64. I have one issue, which I also had with openjdk6-b16. The local of =20 non-english languages are not correct. They are correct in the jdk16 port= . public static void main(String[] args) { for (Locale l : new Locale[] { new Locale("nl"), new =20 Locale("nl", "NL"), new Locale("fr") }) { System.out.println("displayname: " + =20 l.getDisplayName()); DecimalFormat nf =3D =20 (DecimalFormat)NumberFormat.getNumberInstance(l); final DecimalFormatSymbols decimalFormatSymbols = =3D =20 nf.getDecimalFormatSymbols(); System.out.println("decimal: " + =20 decimalFormatSymbols.getDecimalSeparator()); System.out.println("grouping: " + =20 decimalFormatSymbols.getGroupingSeparator()); SimpleDateFormat sdf =3D new SimpleDateFormat("G= ", =20 l); System.out.println("dateformat: " + sdf.format(n= ew =20 Date())); } } Openjdk6 gives: displayname: Dutch decimal: . grouping: , dateformat: AD displayname: Dutch (Netherlands) decimal: . grouping: , dateformat: AD displayname: French decimal: . grouping: , dateformat: AD jdk16 gives: displayname: Dutch decimal: , grouping: . dateformat: AD displayname: Dutch (Netherlands) decimal: , grouping: . dateformat: AD displayname: French decimal: , grouping: dateformat: ap. J.-C. The jdk16 stuff is better. I looked in the code, but can't really find =20 where this info is. Thanks for the hard work on porting this. Nice read in your blog also. Ronald.