diff options
| author | Paul Duffin <paulduffin@google.com> | 2018-06-11 15:45:53 +0100 |
|---|---|---|
| committer | Paul Duffin <paulduffin@google.com> | 2019-04-08 13:00:16 +0100 |
| commit | 746fbb158f346604a94b02ecd201df4e7bf51fc1 (patch) | |
| tree | e7994e449dedc17063a57264edf210066f2ba7b2 /annotations/generate_annotated_java_files.py | |
| parent | 24ac60ad50fd9b984dd5de68c64c2acc9ee0823a (diff) | |
Ensure serialVersionUID computation for Throwable subclass is stable
Adds a test to ensure that the default serialVersionUID computed for
a Throwable subclass in an app with targetSdkVersion=23 does not change.
This is to protect against changes in Throwable breaking existing
behavior in those apps.
Did not add a test to check the default SUID computed for a Throwable
subclass for apps with targetSdkVersion>=23 as that behavior is
well tested in
./luni/src/test/java/libcore/java/io/ObjectStreamClassTest.java
Bug: 109930347
Test: atest core-tests:libcore.java.lang.ThrowableTest
Change-Id: I0d53d935919f1dcb2cc2cd082fc0dd4e6f1e86ce
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions
