As noted in the current open PR https://github.com/openjdk/jdk/pull/12488:
The Javadocs of Arrays.compare and Arrays.mismatch uses the incorrect capitalization atoIndex and btoIndex when referencing the corresponding aToIndex and bToIndex parameters.
The Javadocs of Arrays.compare and Arrays.mismatch uses the incorrect capitalization atoIndex and btoIndex when referencing the corresponding aToIndex and bToIndex parameters.