diff options
| author | Paul Duffin <paulduffin@google.com> | 2019-03-21 13:35:22 +0000 |
|---|---|---|
| committer | Paul Duffin <paulduffin@google.com> | 2019-04-10 16:06:35 +0100 |
| commit | acd34adfb1e6c20452b89fb9427e0caae44dc358 (patch) | |
| tree | 8dc88ac76a1478573acec78d52d11e716a31058b /annotations/generate_annotated_java_files.py | |
| parent | c76cc000040e32adcb95e71157db2bfde8f73817 (diff) | |
Log warning if serialized class has compatibility issues
If an app with targetSdkVersion < 24 serializes a class that has no
serialVersionUID field and its computed default serialVersionUID
would be different if its targetSdkVersion >= 24 then log a warning
explaining the problem and how to solve it.
Bug: 109930347
Test: atest \
core-tests:libcore.java.io.ObjectStreamClassTest \
core-tests:org.apache.harmony.tests.java.io.ObjectStreamClassTest
Manually check adb logcat that the correct message was logged.
Change-Id: I042cd1753cb755bf3a002fda00a0f5900cc421ae
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions
