src/java.base/share/classes/java/util/Arrays.java

Print this page

        

*** 2683,2692 **** --- 2683,2693 ---- * * @param a one array to be tested for equality * @param a2 the other array to be tested for equality * @return {@code true} if the two arrays are equal */ + @HotSpotIntrinsicCandidate public static boolean equals(byte[] a, byte[] a2) { if (a==a2) return true; if (a==null || a2==null) return false;