commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <joerg.schai...@gmx.de>
Subject Re: [VOTE] [LANG] Release Commons Lang 3.0 (based on RC3 JDK 1.5 rebuild)
Date Tue, 03 May 2011 18:16:37 GMT
Hi Hen,

Henri Yandell wrote:

> [Repeating now that I've rebuilt the artifacts using Java 1.5]
> 
> =====
> 
> Lang is ready to consider 3.0 release again.
> 
> RC3 is available here:
> 
>  http://people.apache.org/~bayard/commons-lang3-3.0-RC3/
> 
> Maven artifacts:
> 
>  http://people.apache.org/~bayard/commons-lang3-3.0-RC3/maven/
> 
> Website:
> 
>  http://people.apache.org/~bayard/commons-lang3-3.0-RC3/site/
> 
> Note that there is a 2.6->3.0 Clirr report in the site that may prove
> useful:
> 
>  http://people.apache.org/~bayard/commons-lang3-3.0-RC3/site/lang2-lang3-
clirr--report.html
> 
> This vote will close no sooner than in 72 hours time, 0300 GMT 3-May 2011.
> 
> ================
>   [ ] +1
>   [ ] -1, with reason
> ================

IBM JDK 6 (1.6.0.9) fails with:

============== %< ================
Failed tests: 
  testReflectionHierarchyArrayList(org.apache.commons.lang3.builder.ToStringBuilderTest):

null 
expected:<....ArrayList@14811481[[elementData={<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>},size=0],modCount=0]>

but 
was:<....ArrayList@14811481[[firstIndex=0,lastIndex=0,array={<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>}],modCount=0]>

============== %< ================

This test fails, because it wrongly assumes that every Runtime Library 
imlements ArrayList in the same way. The test should use an own type, that 
we control.


Two failing tests with Sun JDK 1.7 (build 130):

============== %< ================
  testUPlus(org.apache.commons.lang3.text.translate.UnicodeUnescaperTest): 
Default behaviour should not parse u+
  testFormat(org.apache.commons.lang3.time.FastDateFormatTest): null 
expected:<AD AD AD AD 2003 [2003 03 20]03 January Jan 01 1 ...> but was:<AD 
AD AD AD 2003 [03 03 ]03 January Jan 01 1 ...>
============== %< ================

testUPlus: It seems that the behavior might have changed in the newer JDK. 
Current behavior was explicitly requested once
testFormat: I have not checked Java 7 docs yet, but possibly the abbreviated 
year patterns have changed.

OpenJDK6 1.10.1, other Sun JDKs and IBM JDK 1.5 work

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message