OpenJDK 6 may stop builds on CP936 Mac & Linux

Johnson Lau johnsonlaucn at gmail.com
Fri Dec 31 10:16:22 PST 2010


Hi,

I've just found that OpenJDK 6 may stop builds on CP936 Mac & Linux.
Checked the latest repo and confirmed that the bug still exists.
http://hg.openjdk.java.net/jdk6/jdk6/jdk/file/3a8a8b5f1612/make/common/shared/Defs.gmk 

Line #275

Currently, FULL_VERSION uses a format with local abbreviated month name 
(%b).
On these platforms, date will produce a string in local language with space
(i.e. [_1月] which indicates January),
which breaks the builds.

This is fixed in OpenJDK 7 already so I brought the patch into JDK 6.
Hope someone can merge this.

Thanks,
Johnson Lau
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: local-month-full-version.patch
Url: http://mail.openjdk.java.net/pipermail/jdk6-dev/attachments/20110101/a9c5c5fa/attachment.ksh 


More information about the jdk6-dev mailing list