JCE: fix Infer thread safety violation warning in WolfCryptSignature
parent
a9a3bc9b64
commit
ee8a0b7819
|
@ -617,7 +617,7 @@ public class WolfCryptSignature extends SignatureSpi {
|
|||
|
||||
@SuppressWarnings("deprecation")
|
||||
@Override
|
||||
protected void finalize() throws Throwable {
|
||||
protected synchronized void finalize() throws Throwable {
|
||||
try {
|
||||
/* free native digest objects */
|
||||
if (this.md5 != null)
|
||||
|
|
Loading…
Reference in New Issue