I just tried running the lang tests using m1 and JDK 1.3 and got the following failures (no problem with JDK 1.4 or 1.5):
Looks like the semantics changed in how formats are handled from 1.3 to 1.4 - and the javadocs are subtely different. http://java.sun.com/j2se/1.3/docs/api/java/text/MessageFormat.html http://java.sun.com/j2se/1.4.2/docs/api/java/text/MessageFormat.html I haven't had much time to look at this and have run out of time today. Niall Testsuite: org.apache.commons.lang.text.TextTestSuite Tests run: 231, Failures: 1, Errors: 2, Time elapsed: 0.234 sec Testcase: testExtendedFormats(org.apache.commons.lang.text.ExtendedMessageFormatTest): Caused an ERROR Index: 2, Size: 2 java.lang.IndexOutOfBoundsException: Index: 2, Size: 2 at java.util.ArrayList.RangeCheck(ArrayList.java:486) at java.util.ArrayList.get(ArrayList.java:302) at org.apache.commons.lang.text.ExtendedMessageFormat.applyPattern(ExtendedMessageFormat.java:196) at org.apache.commons.lang.text.ExtendedMessageFormat.<init>(ExtendedMessageFormat.java:127) at org.apache.commons.lang.text.ExtendedMessageFormat.<init>(ExtendedMessageFormat.java:112) at org.apache.commons.lang.text.ExtendedMessageFormatTest.testExtendedFormats(ExtendedMessageFormatTest.java:85) Testcase: testExtendedAndBuiltInFormats(org.apache.commons.lang.text.ExtendedMessageFormatTest): Caused an ERROR Index: 3, Size: 3 java.lang.IndexOutOfBoundsException: Index: 3, Size: 3 at java.util.ArrayList.RangeCheck(ArrayList.java:486) at java.util.ArrayList.get(ArrayList.java:302) at org.apache.commons.lang.text.ExtendedMessageFormat.applyPattern(ExtendedMessageFormat.java:196) at org.apache.commons.lang.text.ExtendedMessageFormat.<init>(ExtendedMessageFormat.java:127) at org.apache.commons.lang.text.ExtendedMessageFormat.<init>(ExtendedMessageFormat.java:112) at org.apache.commons.lang.text.ExtendedMessageFormatTest.testExtendedAndBuiltInFormats(ExtendedMessageFormatTest.java:110) Testcase: testBuiltInDateTimeFormat(org.apache.commons.lang.text.ExtendedMessageFormatTest): FAILED toPattern Pattern=[1: {0,date,short}], locale=[null] expected:<...dd/MM/yy...> but was:<...short...> junit.framework.ComparisonFailure: toPattern Pattern=[1: {0,date,short}], locale=[null] expected:<...dd/MM/yy...> but was:<...short...> at org.apache.commons.lang.text.ExtendedMessageFormatTest.checkBuiltInFormat(ExtendedMessageFormatTest.java:264) at org.apache.commons.lang.text.ExtendedMessageFormatTest.checkBuiltInFormat(ExtendedMessageFormatTest.java:236) at org.apache.commons.lang.text.ExtendedMessageFormatTest.testBuiltInDateTimeFormat(ExtendedMessageFormatTest.java:206) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]