# | Line 148 | Line 148 | public class FutureTaskTest extends JSR1 | |
---|---|---|
148 | checkCancelled(task); | |
149 | } | |
150 | ||
151 | – | |
151 | /** | |
152 | * setting value causes get to return it | |
153 | */ | |
# | Line 420 | Line 419 | public class FutureTaskTest extends JSR1 | |
419 | checkCancelled(task); | |
420 | } | |
421 | ||
423 | – | |
422 | /** | |
423 | * A runtime exception in task causes get to throw ExecutionException | |
424 | */ | |
# | Line 459 | Line 457 | public class FutureTaskTest extends JSR1 | |
457 | } | |
458 | } | |
459 | ||
462 | – | |
460 | /** | |
461 | * Interrupting a waiting get causes it to throw InterruptedException | |
462 | */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |