mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
Merge
This commit is contained in:
commit
a29953d805
90 changed files with 1714 additions and 489 deletions
|
@ -894,7 +894,7 @@ abstract class GaloisCounterMode extends CipherSpi {
|
|||
// 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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue