Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8049241

dead code in ForkJoinTask.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 8u5
    • core-libs

      FULL PRODUCT VERSION :

      java version "1.8.0_05"
      java<TM> SE Runtime Environment <build 1.8.0_05-b13>
      Java HotSpot<TM> Client VM <build 25.5-b02, mixed mode, sharing>


      A DESCRIPTION OF THE PROBLEM :
      ForkJoinTask 580 line has a "fase", resulting in this line of code will never be executed:

      580 if (false && e.thrower != Thread.currentThread().getId()) {

      This is not intentional, right?

      REGRESSION. Last worked in version 8u5

      ADDITIONAL REGRESSION INFORMATION:

      java version "1.8.0_05"
      java<TM> SE Runtime Environment <build 1.8.0_05-b13>
      Java HotSpot<TM> Client VM <build 25.5-b02, mixed mode, sharing>



      REPRODUCIBILITY :
      This bug can be reproduced always.

            chegar Chris Hegarty
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: