< prev index next >

src/java.base/share/classes/sun/security/provider/SeedGenerator.java

Print this page
*** 296,10 ***
--- 296,11 ---
              final ThreadGroup[] finalsg = new ThreadGroup[1];
              @SuppressWarnings("removal")
              Thread t = java.security.AccessController.doPrivileged
                  (new java.security.PrivilegedAction<>() {
                          @Override
+                         @SuppressWarnings("deprecation")
                          public Thread run() {
                              ThreadGroup parent, group =
                                  Thread.currentThread().getThreadGroup();
                              while ((parent = group.getParent()) != null) {
                                  group = parent;
< prev index next >