< prev index next >

src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java

Print this page

        

@@ -3505,10 +3505,11 @@
 
     /**
      * Creates and returns the common pool, respecting user settings
      * specified via system properties.
      */
+    @SuppressWarnings("deprecation") // Class.newInstance
     static ForkJoinPool makeCommonPool() {
         int parallelism = -1;
         ForkJoinWorkerThreadFactory factory = null;
         UncaughtExceptionHandler handler = null;
         try {  // ignore exceptions in accessing/parsing properties
< prev index next >