diff options
author | Tobias Thierer <tobiast@google.com> | 2017-10-30 20:19:36 +0000 |
---|---|---|
committer | Tobias Thierer <tobiast@google.com> | 2017-11-07 18:23:45 +0000 |
commit | f66766fe735068fa6c283163c185914bab21016d (patch) | |
tree | 395c00933d7cf172649ee5b00bebc459c964d6ae /annotations/generate_annotated_java_files.py | |
parent | a36b116e2e009c33e0602867cb476afcbff1dd6a (diff) |
Deprecate Os methods that depend on Mutable*, replace with Int*Ref
This CL deprecates the remaining dependencies on android.util
in libcore, which is the last thing stopping android.util from
being dropped from libcore. This is a necessary step for adoption
of an OpenJDK 9 build toolchain because android.util already
exists in framework.
The affected methods live in android.system.Os. Two methods
(sendfile and waitpid) are part of the API; this CL deprecates
those and introduces replacements. Another method (ioctlInt)
is not part of the API; this CL replaces it rather than only
deprecating the old one.
The old methods depended on android.util.Mutable{Int,Long}.
Their replacements use new classes android.system.Int{32,64}Ref.
These names were chosen to indicate that these types are
suitable for C-style lower level system calls, but not for
other abstractions that specifically represent an int or long
in the Java language.
Test: Treehugger
Bug: 67901714
Change-Id: Ia19acf0927bea0fedfb003e49a926840d8d5ff21
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions