RFR 7175464 problems
Doug Lea
dl at cs.oswego.edu
Wed Dec 19 14:07:55 UTC 2012
I ran some of our j.u.c tck tests on lambda builds.
Our tests included some for TreeMap because it was updated
via jsr166 when NavigableMaps were introduced.
I noticed a failure due to:
7175464 : entrySetView field is never updated in NavigableSubMap
http://cr.openjdk.java.net/~mduigou/7175464/0/webrev/
Sorry I hadn't paid attention to this when first posted.
The failure is pasted below, and shows one reason
that entrySetViews were not by default cached.
testDescendingSerialization(TreeSubSetTest)junit.framework.AssertionFailedError:
expected:<[-1, -2, -3, -4, -5]> but was:<[-1, -2, -3, -4, -5]>
at TreeSubSetTest.testDescendingSerialization(TreeSubSetTest.java:981)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at JSR166TestCase.runTest(JSR166TestCase.java:132)
at JSR166TestCase.main(JSR166TestCase.java:160)
Test code is at:
http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/tck/TreeSubSetTest.java?view=log
More information about the core-libs-dev
mailing list