summaryrefslogtreecommitdiff
path: root/ojluni/annotations/hiddenapi/java/lang/Throwable.java
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Derestrict nativeFillInStackTrace."Alex Light2020-11-061-1/+1
| | | | | | | | | | This reverts commit 7c89e0527067b038aac7d27773e506456da6d777. Reason for revert: No longer used by Test988 Bug: 172412309 Bug: 172376773 Change-Id: Ice4167c6de56639614258faa76011f638d2e7fd4
* Derestrict nativeFillInStackTrace.Mathew Inwood2020-11-041-1/+1
| | | | | | | | It's used by ART test JvmtiHostTest988. Bug: 172412309 Fixes: 172376773 Change-Id: Id076bdeab294b28e63ffa8c6569123cf92d24a88
* Add maxTargetSdk restriction to unused APIs.Mathew Inwood2020-10-291-2/+2
| | | | | | | | | | These are APIs that have @UnsupportedAppUsage but for which we don't have any evidence of them currently being used, so should be safe to remove from the unsupported list. Bug: 170729553 Test: Treehugger Change-Id: I783f0af90f462f6b38396f6939a2f080a5292801
* Use new UnsupportedAppUsage annotation.Artur Satayev2019-12-111-1/+1
| | | | | | | | | | | | | | | New annotation is tools/platform-compat/annotation/src/java/android/compat/annotation/UnsupportedAppUsage.java. Existing annotations in libcore/ and frameworks/ will be deleted after the migration: - libcore/dalvik/src/main/java/dalvik/annotation/compat/UnsupportedAppUsage.java - frameworks/base/core/java/android/annotation/UnsupportedAppUsage.java This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library. Bug: 145132366 Test: m && diff unsupportedappusage_index.csv Exempt-From-Owner-Approval: +2 by owner, by vote lost on latest patch. Change-Id: Ib5b7baa399cdc38da1d3ca622ba0ba26936b1b2d
* Add stubs for hiddenapiPaul Duffin2018-10-311-0/+247
Adds stubs for ojluni classes some of whose hidden members are used by applications. Each such member is annotated with the UnsupportedAppUsage annotation. The stubs are built as part of the core-oj-hiddenapi target from which the build will extract information about the hidden class members that are used by applications. This was tested by making and then manually checking that the generated out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt was the same (after sorting) before and after this change. Test: see above Bug: 117818301 Change-Id: Icfe773e00ba1f96a379b705f26ef631ec34fee5e