< prev index next >

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

Print this page

        

@@ -164,10 +164,15 @@
  */
 public abstract class RecursiveAction extends ForkJoinTask<Void> {
     private static final long serialVersionUID = 5232453952276485070L;
 
     /**
+     * Constructor for subclasses to call.
+     */
+    public RecursiveAction() {}
+
+    /**
      * The main computation performed by this task.
      */
     protected abstract void compute();
 
     /**
< prev index next >