< prev index next >

src/java.base/share/classes/java/util/zip/CRC32C.java

Print this page

        

*** 202,211 **** --- 202,212 ---- } /** * Updates the CRC-32C checksum with the specified array of bytes. */ + @SuppressWarnings("deprecation") // Unsafe.{getInt, getLong} private static int updateBytes(int crc, byte[] b, int off, int end) { // Do only byte reads for arrays so short they can't be aligned // or if bytes are stored with a larger witdh than one byte.,% if (end - off >= 8 && Unsafe.ARRAY_BYTE_INDEX_SCALE == 1) {
< prev index next >