From 622b852670437697db8c00bb5870440586b92957 Mon Sep 17 00:00:00 2001 From: David Brazdil Date: Thu, 19 Apr 2018 15:09:04 +0100 Subject: [PATCH] Add intrinsics on light greylist Put intrinsics which are hidden API on light greylist. These were implicitly considered white so far, so we would not have seen warnings about their uses and should greylist them for P. Note that these have been greylisted before in CL I8fba27a529a83751ab27859b1c1b791ab85786cf but the CL was reverted. Bug: 64382372 Test: make Change-Id: I21fe58d244b8b43bf4ddeab556c805d256c13512 --- config/hiddenapi-light-greylist.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/hiddenapi-light-greylist.txt b/config/hiddenapi-light-greylist.txt index 2dcd03a2579f5..0d123091b42b4 100644 --- a/config/hiddenapi-light-greylist.txt +++ b/config/hiddenapi-light-greylist.txt @@ -3451,6 +3451,7 @@ Ljava/lang/ref/FinalizerReference;->remove(Ljava/lang/ref/FinalizerReference;)V Ljava/lang/reflect/Executable;->artMethod:J Ljava/lang/reflect/Parameter;->(Ljava/lang/String;ILjava/lang/reflect/Executable;I)V Ljava/lang/reflect/Proxy;->invoke(Ljava/lang/reflect/Proxy;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object; +Ljava/lang/ref/Reference;->getReferent()Ljava/lang/Object; Ljava/lang/ref/ReferenceQueue;->add(Ljava/lang/ref/Reference;)V Ljava/lang/ref/Reference;->referent:Ljava/lang/Object; Ljava/lang/Runtime;->loadLibrary(Ljava/lang/String;Ljava/lang/ClassLoader;)V @@ -3458,7 +3459,9 @@ Ljava/lang/Runtime;->load(Ljava/lang/String;Ljava/lang/ClassLoader;)V Ljava/lang/Runtime;->mLibPaths:[Ljava/lang/String; Ljava/lang/Runtime;->nativeLoad(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/String; Ljava/lang/Short;->value:S +Ljava/lang/String;->getCharsNoCheck(II[CI)V Ljava/lang/String;->(II[C)V +Ljava/lang/System;->arraycopy([CI[CII)V Ljava/lang/System;->arraycopy([II[III)V Ljava/lang/System;->()V Ljava/lang/Thread;->contextClassLoader:Ljava/lang/ClassLoader;