This patch to localegen filters out the use of v in the time formats. The v character isn't supported in the Java specification.
ChangeLog: 2008-07-08 Andrew John Hughes <[EMAIL PROTECTED]> * src/gnu/localegen/PropertiesGenerator.java, Replace v in time patterns with z, as the Java specification doesn't include v. -- Andrew :) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint = F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
Index: src/gnu/localegen/PropertiesGenerator.java =================================================================== RCS file: /sources/classpath/cp-tools/src/gnu/localegen/PropertiesGenerator.java,v retrieving revision 1.7 diff -u -u -r1.7 PropertiesGenerator.java --- src/gnu/localegen/PropertiesGenerator.java 6 Jul 2008 18:06:57 -0000 1.7 +++ src/gnu/localegen/PropertiesGenerator.java 13 Jul 2008 02:02:46 -0000 @@ -460,7 +460,10 @@ DataElement data_elt = (DataElement) tree.get(ref); if (data_elt == null) return; - localeContents.add(new StringContent(name, data_elt.data)); + // Java doesn't have the 'v' pattern character so replace with z + if (ref.startsWith("timeFormat")) + data_elt.data = data_elt.data.replace('v','z').replace('V','z'); + localeContents.add(new StringContent(name, data_elt.data)); } public void addOrderedListContent(Hashtable tree, String ref, String name,