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

Comparing jsr166/src/test/tck/ForkJoinPoolTest.java (file contents):
Revision 1.79 by dl, Tue Jan 26 13:33:06 2021 UTC vs.
Revision 1.80 by jsr166, Wed Jan 27 01:57:24 2021 UTC

# Line 561 | Line 561 | public class ForkJoinPoolTest extends JS
561      public void testInterruptedSubmit() throws InterruptedException {
562          final CountDownLatch submitted    = new CountDownLatch(1);
563          final CountDownLatch quittingTime = new CountDownLatch(1);
564 <        final Callable<Void> awaiter = new CheckedCallable<Void>() {
564 >        final Callable<Void> awaiter = new CheckedCallable<>() {
565              public Void realCall() throws InterruptedException {
566                  assertTrue(quittingTime.await(2*LONG_DELAY_MS, MILLISECONDS));
567                  return null;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines