mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8274393: Suppress more warnings on non-serializable non-transient instance fields in security libs
Reviewed-by: weijun
This commit is contained in:
parent
8215b2eb61
commit
7326481143
12 changed files with 41 additions and 3 deletions
|
@ -64,6 +64,8 @@ final class PBKDF2KeyImpl implements javax.crypto.interfaces.PBEKey {
|
|||
private int iterCount;
|
||||
private byte[] key;
|
||||
|
||||
@SuppressWarnings("serial") // Type of field is not Serializable;
|
||||
// see writeReplace method
|
||||
private Mac prf;
|
||||
|
||||
private static byte[] getPasswordBytes(char[] passwd) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue