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>
index | next in thread | previous in thread | raw e-mail
On Fri, 30 Oct 2009 22:29:38 +0100, Brian Gardner <brian@getsnappy.com> wrote: > Hi everybody, > I've completed the port of openjdk6 from b16 to b17. I've blogged about > the upgrade here: > http://www.getsnappy.com/tech-blog/freebsd-tips-tricks/upgrading-freebsd-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 > address the existing issue with poor font quality. > > Please leave good or bad comments about your experience with the > preliminary build on this mailing list or my blog, so we can speed the > process of committing a more stable and up-to-date version of Java for > 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 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 Locale("nl", "NL"), new Locale("fr") }) { System.out.println("displayname: " + l.getDisplayName()); DecimalFormat nf = (DecimalFormat)NumberFormat.getNumberInstance(l); final DecimalFormatSymbols decimalFormatSymbols = nf.getDecimalFormatSymbols(); System.out.println("decimal: " + decimalFormatSymbols.getDecimalSeparator()); System.out.println("grouping: " + decimalFormatSymbols.getGroupingSeparator()); SimpleDateFormat sdf = new SimpleDateFormat("G", l); System.out.println("dateformat: " + sdf.format(new 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 where this info is. Thanks for the hard work on porting this. Nice read in your blog also. Ronald.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.u2oaqvj28527sy>
