Trivially, add @since 1.8 tags to the two new ForkJoinPool methods in 1.8.

diff -r 6d814b2f9112 src/share/classes/java/util/concurrent/ForkJoinPool.java --- a/src/share/classes/java/util/concurrent/ForkJoinPool.java Fri Jan 04 11:34:17 2013 +0000 +++ b/src/share/classes/java/util/concurrent/ForkJoinPool.java Fri Jan 04 17:30:41 2013 +0000
@@ -2611,6 +2611,7 @@ public class ForkJoinPool extends Abstra
      * {@link #shutdown} or {@link #shutdownNow}.
      *
      * @return the common pool instance
+     * @since 1.8
      */
     public static ForkJoinPool commonPool() {
         // assert commonPool != null : "static init error";
@@ -2793,6 +2794,7 @@ public class ForkJoinPool extends Abstra
      * Returns the targeted parallelism level of the common pool.
      *
      * @return the targeted parallelism level of the common pool
+     * @since 1.8
      */
     public static int getCommonPoolParallelism() {
         return commonPoolParallelism;

-Chris.

Reply via email to