Skip to content
Permalink
Browse files
8269218: GaloisCounterMode.overlapDetection misses the JDK-8263436 fi…
…x again

Reviewed-by: ascarpino
  • Loading branch information
shipilev committed Jun 24, 2021
1 parent d3d3b22 commit 3fb28d3074dfb33d8b7e489c9a55f52d4e0b954b
Showing 1 changed file with 1 addition and 1 deletion.
@@ -894,7 +894,7 @@ ByteBuffer overlapDetection(ByteBuffer src, ByteBuffer dst) {
// if src is read only, then we need a copy
if (!src.isReadOnly()) {
// If using the heap, check underlying byte[] address.
if (!src.array().equals(dst.array()) ) {
if (src.array() != dst.array()) {
return dst;
}

0 comments on commit 3fb28d3

Please sign in to comment.