summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorTobias Thierer <tobiast@google.com>2016-08-31 13:27:55 +0100
committerTobias Thierer <tobiast@google.com>2016-10-03 16:39:58 +0100
commit4bdfc5a9fee71c4a62c9ecd33e6cfd3421b29a3d (patch)
tree285fa3bdf26e116520c9cfe80f21997937954e86 /annotations/generate_annotated_java_files.py
parent839c3929d114963f4da459267bdd29b4837c290e (diff)
Update Collections to OpenJDK8u60 (part 1)
Documented why updating Collections.sort() would carry app compat risk. We may still decide to update that method to OpenJDK8u60 but if so then it should be done in a separate, targeted CL that can be separately reverted (if necessary). The Android-changed section in CheckedList.replaceAll() was dropped. The following new static factory methods were added to Collections.java but were marked @hide because they do not yet have tests: unmodifiableNavigableSet() unmodifiableNavigableMap() synchronizedNavigableSet() synchronizedNavigableMap() checkedQueue() checkedNavigableSet() checkedNavigableMap() emptySortedSet() emptyNavigableSet() emptySortedMap() emptyNavigableMap() Remaining work for future CLs: - decide whether to update Collections.sort() to OpenJDK8u60 (implement Collections.sort() on top of List.sort() rather than the other way round). - Add test coverage for the new static factory methods mentioned above, and un-@hide them. - rename the Collections.singleton{,List}() type parameter from <E> to <T>. Bug: 29935305 Test: cts-tradefed run cts -m CtsLibcoreTestCases -a arm64-v8a Change-Id: I28fda8b23261a225291d3ae5b9b0170a55cc64d4
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions