diff options
| author | Tobias Thierer <tobiast@google.com> | 2019-08-07 17:58:36 +0100 |
|---|---|---|
| committer | Tobias Thierer <tobiast@google.com> | 2019-08-07 20:00:50 +0000 |
| commit | 3a2ef79ba0b40e49e18cc7265996b820eb70b801 (patch) | |
| tree | 21f9ecc71d21ad3e7f5cbe12026e45fe422e520e /annotations/generate_annotated_java_files.py | |
| parent | db077d2697a2ccc20b909939af4b6186e358c82c (diff) | |
ComparatorTest: Tweak.
This test was using static final arrays which were not
supposed to be modified by a test method.
This CL:
- replaces them with unmodifiable Lists, so that accidental
modification (such as in bug 139015474) is noticed.
- makes them nonstatic, so that no heap is retained after
the instance of ComparatorTest is garbage collected.
Bug: 139015474
Test: atest CtsLibcoreTestCases:libcore.java.util.ComparatorTest
Change-Id: I941d16cf8e487eaede629079e846f96d9e859b7c
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions
