summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2019-04-24 12:45:54 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-04-24 12:45:54 +0000
commit80cd52683cabe5e099bcec327e2fee90168e509c (patch)
tree2908570332ceda16cbbc35b2a6faba294192ebab
parent48a4b8a7fd1a14621c64e732b433875002daa1a6 (diff)
parent301b2a86cdbaecf5969b2130190a5de94de63ad7 (diff)
Merge "Revert^2 "Remove hidden System.arraycopy(byte[]....""
-rw-r--r--ojluni/src/main/java/java/lang/System.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/ojluni/src/main/java/java/lang/System.java b/ojluni/src/main/java/java/lang/System.java
index 8235bf754b..d6984461fd 100644
--- a/ojluni/src/main/java/java/lang/System.java
+++ b/ojluni/src/main/java/java/lang/System.java
@@ -509,13 +509,9 @@ public final class System {
* The byte[] specialized version of arraycopy().
* Note: This method is required for runtime ART compiler optimizations.
* Do not remove or change the signature.
- * Note: Unlike the others, this variant is public due to a dependency we
- * are working on removing. b/74103559
- *
- * @hide
*/
@SuppressWarnings("unused")
- public static void arraycopy(byte[] src, int srcPos, byte[] dst, int dstPos, int length) {
+ private static void arraycopy(byte[] src, int srcPos, byte[] dst, int dstPos, int length) {
if (src == null) {
throw new NullPointerException("src == null");
}