@Deprecated
  @VisibleForTesting
  static native void nativeVerifyChunkedSums(
      int bytesPerSum, int checksumType,
      ByteBuffer sums, int sumsOffset,
      ByteBuffer data, int dataOffset, int dataLength,
      String fileName, long basePos) throws ChecksumException;
@Test
  @SuppressWarnings("deprecation")
  public void testNativeVerifyChunkedSumsFail() {
    allocateDirectByteBuffers();
    fillDataAndInvalidChecksums();
    assertThrows(ChecksumException.class,
        () -> NativeCrc32.nativeVerifyChunkedSums(bytesPerChecksum,
            checksumType.id, checksums, checksums.position(), data,
            data.position(), data.remaining(), fileName, BASE_POSITION));
  }