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

Comparing jsr166/src/test/tck/ForkJoinTask8Test.java (file contents):
Revision 1.25 by dl, Sun Oct 11 19:53:59 2015 UTC vs.
Revision 1.26 by jsr166, Wed Aug 10 01:28:14 2016 UTC

# Line 921 | Line 921 | public class ForkJoinTask8Test extends J
921                  AsyncFib f = new AsyncFib(8);
922                  FailingAsyncFib g = new FailingAsyncFib(9);
923                  ForkJoinTask[] tasks = { f, g };
924 <                Collections.shuffle(Arrays.asList(tasks));
924 >                shuffle(tasks);
925                  try {
926                      invokeAll(tasks[0], tasks[1]);
927                      shouldThrow();
# Line 948 | Line 948 | public class ForkJoinTask8Test extends J
948                  FailingAsyncFib g = new FailingAsyncFib(9);
949                  AsyncFib h = new AsyncFib(7);
950                  ForkJoinTask[] tasks = { f, g, h };
951 <                Collections.shuffle(Arrays.asList(tasks));
951 >                shuffle(tasks);
952                  try {
953                      invokeAll(tasks[0], tasks[1], tasks[2]);
954                      shouldThrow();
# Line 975 | Line 975 | public class ForkJoinTask8Test extends J
975                  AsyncFib g = new AsyncFib(9);
976                  AsyncFib h = new AsyncFib(7);
977                  ForkJoinTask[] tasks = { f, g, h };
978 <                Collections.shuffle(Arrays.asList(tasks));
978 >                shuffle(tasks);
979                  try {
980                      invokeAll(Arrays.asList(tasks));
981                      shouldThrow();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines