diff options
author | 2019-02-08 14:59:46 +0000 | |
---|---|---|
committer | 2019-02-08 14:59:46 +0000 | |
commit | 1af02739be5941db41ae78e67a80a9b067b188d3 (patch) | |
tree | 656bf68c9dd662eaeb3c12ff17d7e6eae143f25c | |
parent | 6bb71b0322b4e1f7b6954162d78f289d894079e4 (diff) |
Deprecate ref... methods in MethodHandleInfo
These methods were mistakenly exposed as part of the public API in
Android 26. They do not appear to be used by any apps so this is a
prelude to removing them from the API completely.
Bug: 114175595
Test: make checkbuild
Change-Id: I17b7369a4fbb568bde5285d705d9194ac91e576d
-rwxr-xr-x | api/current.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/api/current.txt b/api/current.txt index 16274a92f994..b81e6730fcf9 100755 --- a/api/current.txt +++ b/api/current.txt @@ -58485,9 +58485,9 @@ package java.lang.invoke { method public String getName(); method public int getReferenceKind(); method public default boolean isVarArgs(); - method public static boolean refKindIsField(int); - method public static boolean refKindIsValid(int); - method public static String refKindName(int); + method @Deprecated public static boolean refKindIsField(int); + method @Deprecated public static boolean refKindIsValid(int); + method @Deprecated public static String refKindName(int); method public static String referenceKindToString(int); method public <T extends java.lang.reflect.Member> T reflectAs(Class<T>, java.lang.invoke.MethodHandles.Lookup); method public static String toString(int, Class<?>, String, java.lang.invoke.MethodType); |