summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2019-03-21 13:35:22 +0000
committerPaul Duffin <paulduffin@google.com>2019-04-16 12:59:45 +0100
commit21a9a2ba1f7e439ebfaaa08374715f85d2ef2774 (patch)
treee94dc4ef5ac83b7fd0a166462efea163c20270aa /annotations/generate_annotated_java_files.py
parenta089bb3e4656da4d00c9f9976a747acb9e7618aa (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. (cherry picked from commit acd34adfb1e6c20452b89fb9427e0caae44dc358) Change-Id: If5b8c4777ef292907b081ea98341fc61e73f5306
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions