On Sun, Feb 21, 2010 at 8:28 PM, Niall Pemberton <niall.pember...@gmail.com> wrote: > On Sun, Feb 21, 2010 at 8:25 PM, Oliver Heger > <oliver.he...@oliver-heger.de> wrote: >> Just wanted to test the RC, but I get the following test failure: >> >> ------------------------------------------------------------------------------- >> Test set: org.apache.commons.lang.time.DateUtilsTest >> ------------------------------------------------------------------------------- >> Tests run: 33, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.281 sec >> <<< FAILURE! >> testParseDateWithLeniency(org.apache.commons.lang.time.DateUtilsTest) Time >> elapsed: 0 sec <<< ERROR! >> java.text.ParseException: Unable to parse the date: February 942, 1996 >> at >> org.apache.commons.lang.time.DateUtils.parseDateWithLeniency(DateUtils.java:359) >> at >> org.apache.commons.lang.time.DateUtils.parseDate(DateUtils.java:285) >> at >> org.apache.commons.lang.time.DateUtilsTest.testParseDateWithLeniency(DateUtilsTest.java:281) >> >> This is a problem with the Locale. On my German system the month "February" >> cannot be parsed. I had seen this problem in trunk and fixed it a while ago. >> If you have a look at the corresponding test case, you will see that the >> name of the month was replaced by the number. This fix should probably be >> ported to the release branch, too. > > OK thanks I'll take a look later - gotta go ice skating!
I've ported the change across to the 2.x branch - thanks for the feedback - this vote is cancelled and I'll cut another RC for this and Sebb's change. Niall > Niall > >> Oliver >> >> >> Am 21.02.2010 20:46, schrieb Niall Pemberton: >>> >>> There have been a couple of issues fixed since RC1 - LANG-76 and LANG-592 >>> >>> [ ] +1 Yes go ahead an release based on RC2 >>> [ ] -1 No, because... >>> >>> Lang 2.5 RC2 is available for review here: >>> http://people.apache.org/~niallp/lang-2.5-rc2/ >>> >>> Maven artifacts are here: >>> http://people.apache.org/~niallp/lang-2.5-rc2/maven/commons-lang/ >>> >>> Details of changes since 2.4 are in the release notes: >>> http://people.apache.org/~niallp/lang-2.5-rc2/RELEASE-NOTES.txt >>> http://people.apache.org/~niallp/lang-2.5-rc2/site/changes-report.html >>> >>> I have tested this with JDK 1.3, 1.4, 1.5& 1.6 using Ant and JDK 1.5 >>> & 1.6 using Maven2.(ran separately the RandomUtilsFreqTest test with >>> both Ant and Maven) >>> >>> The tag is here: >>> http://svn.apache.org/viewvc/commons/proper/lang/tags/LANG_2_5_RC2/ >>> >>> Site: >>> http://people.apache.org/~niallp/lang-2.5-rc2/site/ >>> (note some *relative* links are broken and the 2.5 directories are not >>> yet created - these will be OK once the site is deployed) >>> >>> Clirr Report (compared to 2.4): >>> http://people.apache.org/~niallp/lang-2.5-rc2/site/clirr-report.html >>> >>> RAT Report: >>> http://people.apache.org/~niallp/lang-2.5-rc2/site/rat-report.html >>> >>> tia >>> >>> Niall --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org