< prev index next >

src/java.base/share/classes/sun/misc/Cleaner.java

Print this page

        

@@ -140,11 +140,11 @@
         if (!remove(this))
             return;
         try {
             thunk.run();
         } catch (final Throwable x) {
-            AccessController.doPrivileged(new PrivilegedAction<Void>() {
+            AccessController.doPrivileged(new PrivilegedAction<>() {
                     public Void run() {
                         if (System.err != null)
                             new Error("Cleaner terminated abnormally", x)
                                 .printStackTrace();
                         System.exit(1);
< prev index next >