Skip to content

Commit

Permalink
8294734: Redundant override in AES implementation
Browse files Browse the repository at this point in the history
Reviewed-by: valeriep, wetmore
  • Loading branch information
XueleiFan committed Oct 5, 2022
1 parent 536c9a5 commit f2c5718
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/java.base/share/classes/com/sun/crypto/provider/AESCipher.java
Original file line number Diff line number Diff line change
Expand Up @@ -548,22 +548,4 @@ protected Key engineUnwrap(byte[] wrappedKey,
return core.unwrap(wrappedKey, wrappedKeyAlgorithm,
wrappedKeyType);
}

/**
* Finalize crypto operation with ByteBuffers
*
* @param input the input ByteBuffer
* @param output the output ByteBuffer
*
* @return output length
* @throws ShortBufferException
* @throws IllegalBlockSizeException
* @throws BadPaddingException
*/
@Override
protected int engineDoFinal(ByteBuffer input, ByteBuffer output)
throws ShortBufferException, IllegalBlockSizeException,
BadPaddingException {
return super.engineDoFinal(input, output);
}
}

1 comment on commit f2c5718

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.