From 1af02739be5941db41ae78e67a80a9b067b188d3 Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Fri, 8 Feb 2019 14:59:46 +0000 Subject: [PATCH] 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 --- api/current.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/current.txt b/api/current.txt index 16274a92f9946..b81e6730fcf9f 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 reflectAs(Class, java.lang.invoke.MethodHandles.Lookup); method public static String toString(int, Class, String, java.lang.invoke.MethodType);