You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/09/16 22:05:34 UTC
DO NOT REPLY [Bug 23201] New: -
[collections] TestObservedBag and TestObservedSet fail under Java 1.3.1
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23201>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23201
[collections] TestObservedBag and TestObservedSet fail under Java 1.3.1
Summary: [collections] TestObservedBag and TestObservedSet fail
under Java 1.3.1
Product: Commons
Version: Nightly Builds
Platform: Other
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: Collections
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: janekdb@yahoo.co.uk
With CVS HEAD of 2003-Sept-16 two unit tests fail under Java 1.3.1_04.
$ java -version
java version "1.3.1_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_04-b02)
Java HotSpot(TM) Client VM (build 1.3.1_04-b02, mixed mode)
The stack trace is:
[java] There were 2 failures:
[java] 1) testObservedSet(o.a.c.collections.observed.TestObservedBag)
junit.framework.AssertionFailedError: expected same:<7> was not:<6>
[java] at
o.a.c.collections.observed.ObservedTestHelper.doTestRemoveIterated(ObservedTestHelper.java:933)
[java] at
o.a.c.collections.observed.ObservedTestHelper.bulkTestObservedCollection(ObservedTestHelper.java:156)
[java] at
o.a.c.collections.observed.ObservedTestHelper.bulkTestObservedBag(ObservedTestHelper.java:188)
[java] at
o.a.c.collections.observed.TestObservedBag.testObservedSet(TestObservedBag.java:98)
[java] 2) testObservedSet(o.a.c.collections.observed.TestObservedSet)
junit.framework.AssertionFailedError: expected same:<7> was not:<6>
[java] at
o.a.c.collections.observed.ObservedTestHelper.doTestRemoveIterated(ObservedTestHelper.java:933)
[java] at
o.a.c.collections.observed.ObservedTestHelper.bulkTestObservedCollection(ObservedTestHelper.java:156)
[java] at
o.a.c.collections.observed.ObservedTestHelper.bulkTestObservedSet(ObservedTestHelper.java:164)
[java] at
o.a.c.collections.observed.TestObservedSet.testObservedSet(TestObservedSet.java:106)
[java] FAILURES!!!
[java] Tests run: 7489, Failures: 2, Errors: 0
It doesn't matter whether it is compiled with 1.4.1 or 1.3.1 as summarized here:
Run with:
1.3.1_04 1.4.1_03
Compiled with: 1.3.1_04 fail pass
1.4.1_03 fail pass