We updated the openjdk port to 7.4.22 (from 7.3), and noticed some test failures that test our collation integration, because the Arabic locale was not behaving properly. The problem appears to be the Locale data is hosed in this update, and its falling back to the root locale "". This can be seen easily by just listing the available locales. How-To-Repeat: import java.util.Arrays; import java.util.Locale; public class ListLocales { public static void main(String args[]) throws Exception { System.out.println(Arrays.toString(Locale.getAvailableLocales())); } } This gives a bogus list: [, ben, arn]
Responsible Changed From-To: freebsd-ports-bugs->glewis Fix Synopsis and assign.
glewis 2012-06-16 14:46:02 UTC FreeBSD ports repository Modified files: java/openjdk7 Makefile java/openjdk7/files patch-set Added files: java/openjdk7/files patch-make-java-java-genlocales.gmk Log: . Fix locale generation. PR: 169037 Revision Changes Path 1.39 +1 -1 ports/java/openjdk7/Makefile 1.1 +40 -0 ports/java/openjdk7/files/patch-make-java-java-genlocales.gmk (new) 1.15 +0 -21 ports/java/openjdk7/files/patch-set _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Robert, thanks for the report. I've committed a fix for this. Please update to 7.4.22_2 and let me know if you still have any problems.
I installed the latest port on Apache Lucene's FreeBSD installation where our daily builds are running. No more test failures with Farsi and other Locales. https://builds.apache.org/job/Lucene-Solr-tests-only-trunk-java7/ Thanks for quickly fixing this! ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: uwe@thetaphi.de