ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/ForkJoinTaskTest.java
(Generate patch)

Comparing jsr166/src/test/tck/ForkJoinTaskTest.java (file contents):
Revision 1.58 by jsr166, Thu Jun 4 14:17:31 2020 UTC vs.
Revision 1.59 by jsr166, Fri Dec 4 20:29:22 2020 UTC

# Line 1694 | Line 1694 | public class ForkJoinTaskTest extends JS
1694          }
1695      }
1696  
1697 <    /**
1698 <     * adaptInterruptible(callable).toString() contains toString of wrapped task
1699 <     */
1700 <    public void testAdaptInterruptible_Callable_toString() {
1701 <        if (testImplementationDetails) {
1702 <            Callable<String> c = () -> "";
1703 <            ForkJoinTask<String> task = ForkJoinTask.adaptInterruptible(c);
1704 <            assertEquals(
1705 <                identityString(task) + "[Wrapped task = " + c.toString() + "]",
1706 <                task.toString());
1707 <        }
1708 <    }
1697 >    // adaptInterruptible deferred to its own independent change
1698 >    // https://bugs.openjdk.java.net/browse/JDK-8246587
1699 >
1700 > //     /**
1701 > //      * adaptInterruptible(callable).toString() contains toString of wrapped task
1702 > //      */
1703 > //     public void testAdaptInterruptible_Callable_toString() {
1704 > //         if (testImplementationDetails) {
1705 > //             Callable<String> c = () -> "";
1706 > //             ForkJoinTask<String> task = ForkJoinTask.adaptInterruptible(c);
1707 > //             assertEquals(
1708 > //                 identityString(task) + "[Wrapped task = " + c.toString() + "]",
1709 > //                 task.toString());
1710 > //         }
1711 > //     }
1712   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines