From 7cf9d4cab77808facf7d4ef03c906ff9eca1f37c Mon Sep 17 00:00:00 2001 From: firaja Date: Sun, 20 Aug 2023 21:33:47 +0200 Subject: [PATCH] #119: temporary solution until java dev team will find a final solution --- src/main/java/com/password4j/Utils.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/password4j/Utils.java b/src/main/java/com/password4j/Utils.java index c83fb2ea..b2ebfe4d 100644 --- a/src/main/java/com/password4j/Utils.java +++ b/src/main/java/com/password4j/Utils.java @@ -505,10 +505,9 @@ else if (shiftTo == 12) return dp; } - @SuppressWarnings("java:S1604") + @SuppressWarnings({"removal", "java:S1604"}) static SecureRandom getInstanceStrong() throws NoSuchAlgorithmException { - String property = AccessController.doPrivileged(new PrivilegedAction() { @Override