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

Print this page

        

@@ -2148,11 +2148,11 @@
         defaultForkJoinWorkerThreadFactory =
             new DefaultForkJoinWorkerThreadFactory();
         int s;
         try {
             UNSAFE = sun.misc.Unsafe.getUnsafe();
-            Class k = ForkJoinPool.class;
+            Class<?> k = ForkJoinPool.class;
             ctlOffset = UNSAFE.objectFieldOffset
                 (k.getDeclaredField("ctl"));
             stealCountOffset = UNSAFE.objectFieldOffset
                 (k.getDeclaredField("stealCount"));
             blockedCountOffset = UNSAFE.objectFieldOffset

@@ -2161,11 +2161,11 @@
                 (k.getDeclaredField("quiescerCount"));
             scanGuardOffset = UNSAFE.objectFieldOffset
                 (k.getDeclaredField("scanGuard"));
             nextWorkerNumberOffset = UNSAFE.objectFieldOffset
                 (k.getDeclaredField("nextWorkerNumber"));
-            Class a = ForkJoinTask[].class;
+            Class<?> a = ForkJoinTask[].class;
             ABASE = UNSAFE.arrayBaseOffset(a);
             s = UNSAFE.arrayIndexScale(a);
         } catch (Exception e) {
             throw new Error(e);
         }