RFR 7175464 problems (original) (raw)
Doug Lea dl at cs.oswego.edu
Wed Dec 19 14:07:55 UTC 2012
- Previous message: hg: jdk8/tl/langtools: 8004833: Integrate doclint support into javac
- Next message: hg: jdk8/tl/langtools: 8005098: Provide isSynthesized() information on Attribute.Compound
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: hg: jdk8/tl/langtools: 8004833: Integrate doclint support into javac
- Next message: hg: jdk8/tl/langtools: 8005098: Provide isSynthesized() information on Attribute.Compound
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]