On 11/13/2013 10:59 PM, Jörg Schaible wrote:
> Thomas Neidhart wrote:
>
>> On 11/13/2013 05:39 PM, Jörg Schaible wrote:
>>> Jörg Schaible wrote:
>>>
>>>> Hi Thomas,
>>>>
>>>> Thomas Neidhart wrote:
>
> [snip]
>
>>>>> For IBM JDK 6: I did already ignore several tests (due to problems with
>>>>> the TreeMap implementation there) if run with this JVM but obviously
>>>>> something has changed since then, need to check.
>>>>
>>>> I can tell you this evening (in ~6 hours), which version I used exactly.
>>>> However, IIRC the number of executed tests were for me always the same.
>>>> Maybe the check for IBM JDK 1.6 failed?
>>>
>>> ===================== %< ===============
>>> $ java -version
>>> java version "1.6.0"
>>> Java(TM) SE Runtime Environment (build pxa6460sr9fp2-20110625_01(SR9
>>> FP2)) IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64
>>> jvmxa6460sr9-20110624_85526 (JIT enabled, AOT enabled)
>>> J9VM - 20110624_085526
>>> JIT - r9_20101028_17488ifx17
>>> GC - 20101027_AA)
>>> JCL - 20110530_01
>>> ===================== %< ===============
>>
>> I tested with this version:
>>
>> java version "1.6.0"
>> Java(TM) SE Runtime Environment (build pxi3260sr12-20121025_01(SR12))
>> IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux x86-32
>> jvmxi3260sr12-20121024_126067 (JIT enabled, AOT enabled)
>> J9VM - 20121024_126067
>> JIT - r9_20120914_26057
>> GC - 20120928_AA)
>> JCL - 20121014_01
>>
>> and got 3 failures from a recently added test, for which I forgot to add
>> the ignore rules.
>>
>> Could you output me the result of this for your IBM JDK version:
>>
>> final String vmName = System.getProperty("java.vm.name");
>> final String version = System.getProperty("java.version");
>
> =========================== %< ===========================
> java.specification.version: 1.6
> java.specification.vendor: Sun Microsystems Inc.
> java.specification.name: Java Platform API Specification
> java.vm.vendor: IBM Corporation
> java.vendor: IBM Corporation
> java.vm.name: IBM J9 VM
> =========================== %< ===========================
>
> Failing and erroneous tests:
>
> =========================== %< ===========================
> Failed tests:
> AbstractMapTest$TestMapEntrySet.testMapEntrySetIteratorEntrySetValue:1656
> expected:<true> but was:<false>
> AbstractMapTest$TestMapEntrySet.testMapEntrySetIteratorEntrySetValue:1656
> expected:<true> but was:<false>
>
> AbstractMapTest$TestMapEntrySet>AbstractCollectionTest.testCollectionToArray2:1097
>
> toArrays should be equal expected:
> <[Entry(key=again [28], value=againv, parent=all [14], left=again [28],
> right=all [14], predecessor=again [28]), Entry(key=all [14], value=allv,
> parent=foo [13], left=again [28], right=bar [28], predecessor=again [28]),
> Entry(key=bar [28], value=barv, parent=all [14], left=baz [44], right=blah
> [9], predecessor=baz [44]), Entry(key=baz [44], value=bazv, parent=bar [28],
> left=bar [28], right=baz [44], predecessor=baz [44]), Entry(key=blah [9],
> value=blahv, parent=ROOT, left=ROOT, right=tmp [11], predecessor=bar [28]),
> Entry(key=foo [13], value=foov, parent=hello [12], left=all [14], right=gosh
> [15], predecessor=gosh [15])]> but was:<[Entry(key=foo [13], value=foov,
> parent=hello [12], left=all [14], right=gosh [15], predecessor=gosh [15]),
> Entry(key=blah [9], value=blahv, parent=ROOT, left=ROOT, right=tmp [11],
> predecessor=bar [28]), Entry(key=baz [44], value=bazv, parent=bar [28],
> left=bar [28], right=baz [44], predecessor=baz [44]), Entry(key=bar [28],
> value=barv, parent=all [14], left=baz [44], right=blah [9], predecessor=baz
> [44]), Entry(key=all [14], value=allv, parent=foo [13], left=again [28],
> right=bar [28], predecessor=again [28]), Entry(key=again [28], value=againv,
> parent=all [14], left=again [28], right=all [14], predecessor=again [28])]>
>
> AbstractMapTest$TestMapEntrySet>AbstractCollectionTest.testCollectionToArray2:1097
>
> toArrays should be equal expected:<[Entry(key=key2 [58], value=value,
> parent=key [14], left=key [14], right=key2 [58], predecessor=key2 [58]),
> Entry(key=nonnullkey [13], value=value, parent=hello [12], left=key [14],
> right=nonnullkey [13], predecessor=nonnullkey [13]), Entry(key=see [13],
> value=seev, parent=you [12], left=see [13], right=we'll [14],
> predecessor=see [13]), Entry(key=tmp [11], value=tmpv, parent=blah [9],
> left=hello [12], right=you [12], predecessor=we'll [14]), Entry(key=we'll
> [14], value=we'llv, parent=see [13], left=tmp [11], right=we'll [14],
> predecessor=we'll [14]), Entry(key=you [12], value=youv, parent=tmp [11],
> left=see [13], right=you [12], predecessor=you [12])]> but
> was:<[Entry(key=you [12], value=youv, parent=tmp [11], left=see [13],
> right=you [12], predecessor=you [12]), Entry(key=we'll [14], value=we'llv,
> parent=see [13], left=tmp [11], right=we'll [14], predecessor=we'll [14]),
> Entry(key=tmp [11], value=tmpv, parent=blah [9], left=hello [12], right=you
> [12], predecessor=we'll [14]), Entry(key=see [13], value=seev, parent=you
> [12], left=see [13], right=we'll [14], predecessor=see [13]),
> Entry(key=nonnullkey [13], value=value, parent=hello [12], left=key [14],
> right=nonnullkey [13], predecessor=nonnullkey [13]), Entry(key=key2 [58],
> value=value, parent=key [14], left=key [14], right=key2 [58],
> predecessor=key2 [58])]>
>
> AbstractMapTest$TestMapEntrySet>AbstractCollectionTest.testCollectionToArray2:1097
>
> toArrays should be equal expected:<[Entry(key=baz [44], value=bazv,
> parent=bar [28], left=bar [28], right=baz [44], predecessor=baz [44]),
> Entry(key=blah [9], value=blahv, parent=ROOT, left=ROOT, right=tmp [11],
> predecessor=bar [28]), Entry(key=foo [13], value=foov, parent=hello [12],
> left=all [14], right=gosh [15], predecessor=gosh [15]), Entry(key=gee [28],
> value=geev, parent=gosh [15], left=gee [28], right=golly [43],
> predecessor=gee [28]), Entry(key=golly [43], value=gollyv, parent=gee [28],
> left=goodbye [46], right=gosh [15], predecessor=goodbye [46]),
> Entry(key=goodbye [46], value=goodbyev, parent=golly [43], left=golly [43],
> right=goodbye [46], predecessor=goodbye [46]), Entry(key=gosh [15],
> value=goshv, parent=foo [13], left=foo [13], right=gee [28],
> predecessor=golly [43]), Entry(key=hello [12], value=hellov, parent=tmp
> [11], left=foo [13], right=nonnullkey [13], predecessor=key [14]),
> Entry(key=key [14], value=null, parent=nonnullkey [13], left=hello [12],
> right=key2 [58], predecessor=key2 [58]), Entry(key=key2 [58], value=value,
> parent=key [14], left=key [14], right=key2 [58], predecessor=key2 [58]),
> Entry(key=nonnullkey [13], value=value, parent=hello [12], left=key [14],
> right=nonnullkey [13], predecessor=nonnullkey [13]), Entry(key=see [13],
> value=seev, parent=you [12], left=see [13], right=we'll [14],
> predecessor=see [13])]> but was:<[Entry(key=see [13], value=seev, parent=you
> [12], left=see [13], right=we'll [14], predecessor=see [13]),
> Entry(key=nonnullkey [13], value=value, parent=hello [12], left=key [14],
> right=nonnullkey [13], predecessor=nonnullkey [13]), Entry(key=key2 [58],
> value=value, parent=key [14], left=key [14], right=key2 [58],
> predecessor=key2 [58]), Entry(key=key [14], value=null, parent=nonnullkey
> [13], left=hello [12], right=key2 [58], predecessor=key2 [58]),
> Entry(key=hello [12], value=hellov, parent=tmp [11], left=foo [13],
> right=nonnullkey [13], predecessor=key [14]), Entry(key=gosh [15],
> value=goshv, parent=foo [13], left=foo [13], right=gee [28],
> predecessor=golly [43]), Entry(key=goodbye [46], value=goodbyev,
> parent=golly [43], left=golly [43], right=goodbye [46], predecessor=goodbye
> [46]), Entry(key=golly [43], value=gollyv, parent=gee [28], left=goodbye
> [46], right=gosh [15], predecessor=goodbye [46]), Entry(key=gee [28],
> value=geev, parent=gosh [15], left=gee [28], right=golly [43],
> predecessor=gee [28]), Entry(key=foo [13], value=foov, parent=hello [12],
> left=all [14], right=gosh [15], predecessor=gosh [15]), Entry(key=blah [9],
> value=blahv, parent=ROOT, left=ROOT, right=tmp [11], predecessor=bar [28]),
> Entry(key=baz [44], value=bazv, parent=bar [28], left=bar [28], right=baz
> [44], predecessor=baz [44])]>
>
> Tests in error:
> AbstractSortedMapTest$TestTailMap>AbstractMapTest.testMapRemove:1002-
>> AbstractSortedMapTest$TestViewMap.verify:138->AbstractMapTest.verify:1942-
>> AbstractMapTest.verifyValues:2013 » ArrayIndexOutOfBounds
>
> AbstractMapTest$TestMapEntrySet>AbstractCollectionTest.testCollectionIteratorRemove:834-
>> verify:1707 » ArrayIndexOutOfBounds
>
> AbstractMapTest$TestMapEntrySet>AbstractCollectionTest.testCollectionRemoveAll:930-
>> verify:1707 » ArrayIndexOutOfBounds
>
> AbstractMapTest$TestMapKeySet>AbstractCollectionTest.testCollectionIteratorRemove:834-
>> verify:1786 » ArrayIndexOutOfBounds
>
> AbstractMapTest$TestMapKeySet>AbstractCollectionTest.testCollectionRemoveAll:930-
>> verify:1786 » ArrayIndexOutOfBounds
> AbstractSortedMapTest$TestTailMap>AbstractMapTest.testMapRemove:1002-
>> AbstractSortedMapTest$TestViewMap.verify:138->AbstractMapTest.verify:1942-
>> AbstractMapTest.verifyValues:2013 » ArrayIndexOutOfBounds
>
> AbstractMapTest$TestMapEntrySet>AbstractCollectionTest.testCollectionIteratorRemove:834-
>> verify:1707 » ArrayIndexOutOfBounds
>
> AbstractMapTest$TestMapEntrySet>AbstractCollectionTest.testCollectionRemoveAll:930-
>> verify:1707 » ArrayIndexOutOfBounds
>
> AbstractMapTest$TestMapKeySet>AbstractCollectionTest.testCollectionIteratorRemove:834-
>> verify:1786 » ArrayIndexOutOfBounds
>
> AbstractMapTest$TestMapKeySet>AbstractCollectionTest.testCollectionRemoveAll:930-
>> verify:1786 » ArrayIndexOutOfBounds
> AbstractSortedMapTest$TestTailMap>AbstractMapTest.testMapRemove:1002-
>> AbstractSortedMapTest$TestViewMap.verify:138->AbstractMapTest.verify:1942-
>> AbstractMapTest.verifyValues:2013 » ArrayIndexOutOfBounds
>
> AbstractMapTest$TestMapEntrySet>AbstractCollectionTest.testCollectionIteratorRemove:834-
>> verify:1707 » ArrayIndexOutOfBounds
>
> AbstractMapTest$TestMapEntrySet>AbstractCollectionTest.testCollectionRemoveAll:930-
>> verify:1707 » ArrayIndexOutOfBounds
>
> AbstractMapTest$TestMapKeySet>AbstractCollectionTest.testCollectionIteratorRemove:834-
>> verify:1786 » ArrayIndexOutOfBounds
>
> AbstractMapTest$TestMapKeySet>AbstractCollectionTest.testCollectionRemoveAll:930-
>> verify:1786 » ArrayIndexOutOfBounds
> =========================== %< ===========================
Hi Joerg,
it looks like the difference in the test results is due to a more recent
version of the JDK. Previously I tested with SR12 and excluded all
failing tests. I downloaded now also SR15 and got the same errors as
you, so it seems more bugs have been introduced with recent SRs.
I will add these also to the exclusion lists.
The issue with Java 8 is still open, I would be happy with a method
change as posted in another thread, but will wait if there is some
answer on the openjdk mailinglist.
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]