# | Line 464 | Line 464 | public class FutureTaskTest extends JSR1 | |
---|---|---|
464 | try { | |
465 | task.cancel(true); | |
466 | shouldThrow(); | |
467 | < | } catch (SecurityException expected) {} |
467 | > | } catch (SecurityException success) {} |
468 | ||
469 | // We failed to deliver the interrupt, but the world retains | |
470 | // its sanity, as if we had done task.cancel(false) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |