diff options
| author | Pete Gillin <peteg@google.com> | 2018-11-13 15:36:32 +0000 |
|---|---|---|
| committer | Pete Gillin <peteg@google.com> | 2018-11-13 16:15:05 +0000 |
| commit | 365367f9a9b3bf4ec4e2efb416a8b2d9b75b6df4 (patch) | |
| tree | 1d1e0e12740d93838e644a987fb79bcfa10e8093 /annotations/generate_annotated_java_files.py | |
| parent | d22837f7a8108fc12e0d417d668e4b0ca4b49ef4 (diff) | |
Add nullability annotations to BigInteger.
Note that, unlike previous changes, this is in libcore/luni, and the
source code is patched directly.
One noteworthy decision: BigInteger(int bitLength, int certainty,
Random random)'s random argument actually can be null if bitLength is
>= 16, since it is ignored. This is an Android-specific implementation
detail, although it is documented. It still seems safer to warn on
null, so this change annotates the parameter @NonNull. (This is
unlikely to be used!)
Test: make core-libart
Bug: 64930165
Change-Id: I27ba04bcff2df897dbfb0fa90ba2a5cd26dfab7b
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions
