Re: Clarification on javafx.concurrent.Task cancellation behavior

2014-05-12 Thread Martin Sladecek
Hi Weiqi, this is definitely a bug, I filed https://javafx-jira.kenai.com/browse/RT-37067 to track this. Thanks, -Martin On 11.5.2014 20:22, weiqi...@gmail.com wrote: Hi, Looking at the javafx.concurrent.Task code, I see the following in the nested class TaskCallableV’s call() method:

Clarification on javafx.concurrent.Task cancellation behavior

2014-05-11 Thread weiqigao
Hi, Looking at the javafx.concurrent.Task code, I see the following in the nested class TaskCallableV’s call() method: try { final V result = task.call(); if (!task.isCancelled()) { // If it was not cancelled, then we take the