[concurrency-interest] backport: FutureTask.run() invokes private methods

laurent sauvage sauvagelaurent at hotmail.com
Tue May 22 07:54:47 EDT 2007

Hi all,In the implementation of the backport of JSR 166, FutureTask.run() invokes FutureTask.setCompleted() and FutureTask.setFailed() private methods.Notice the equivalent protected methods FutureTask.set() and FutureTask.setException() are not called here, which does not ease customization by subclassing FutureTask.Is it  the desired behaviour ?Regards.Laurent.
Essayez Live.com et créez l'Internet qui vous ressemble : infos, sports, météo et bien plus encore !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20070522/c5b97bbe/attachment.html 

More information about the Concurrency-interest mailing list