diff options
author | Pete Gillin <peteg@google.com> | 2018-11-14 18:42:19 +0000 |
---|---|---|
committer | Pete Gillin <peteg@google.com> | 2018-11-14 19:00:22 +0000 |
commit | c5f179b04e58be2eefab1ad5e658d357a02b78c2 (patch) | |
tree | 3e7056b7239416942857c351f0f047d3f2a57850 /nullability_annotated_classes.txt | |
parent | d260231f0cb1148623b3e8b387d28269b8e08d27 (diff) |
Turn on nullability annotation for the non-ojluni classes.
Previously, libcore does nullability validation of ojluni classes,
using the existence of nullability stub files to indicate which
classes to validate. This change turns on validation for classes which
are annotated directly in the source rather than using stubs, by
listing them explicitly.
This change also adds one annotation previously missing from
BigInteger (which was found by this validation).
Test: core-current-stubs-nullability-validation-check-nullability-warnings
Bug: 73448108
Bug: 64930165
Change-Id: I21fcf45c4c58ec9b93333efbdd29de3eca2f3e81
Diffstat (limited to 'nullability_annotated_classes.txt')
-rw-r--r-- | nullability_annotated_classes.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nullability_annotated_classes.txt b/nullability_annotated_classes.txt new file mode 100644 index 0000000000..e241e0ba29 --- /dev/null +++ b/nullability_annotated_classes.txt @@ -0,0 +1,6 @@ +# The following classes have nullability annotations directly in their source +# which should be validated for correctness and completeness. (N.B. Classes +# with annotations in stub files under ojluni/annotations/sdk/nullability/ +# should also be validated, but are not listed here.) +java.math.BigInteger +org.json.JSONObject |