Date: Sat, 31 Oct 2009 17:29:09 +0100 From: "Ronald Klop" <ronald-freebsd8@klop.yi.org> To: "Brian Gardner" <brian@getsnappy.com>, freebsd-java@freebsd.org Subject: Re: openjdk6 b17 Message-ID: <op.u2oaqvj28527sy@82-170-177-25.ip.telfort.nl> In-Reply-To: <EAD67811-740E-43F4-8A11-2374F3EB84F9@getsnappy.com> References: <EAD67811-740E-43F4-8A11-2374F3EB84F9@getsnappy.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 30 Oct 2009 22:29:38 +0100, Brian Gardner <brian@getsnappy.com> =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 <path_to_tar_bundle>/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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.u2oaqvj28527sy>