8041772: (ch) PendingFuture.CANCELLED has backtrace that potentially keeps objects alive

Alan Bateman Alan.Bateman at oracle.com
Wed Apr 30 07:28:59 UTC 2014


On 29/04/2014 22:47, Zhong Yu wrote:
> This would change the stacktrace the application sees; does it matter?
>
It's a good question and could be confusing to have get throw 
CancellationException with the stack trace of the thread that called 
cancel. So I think we'll leave this as it was.

-Alan


More information about the nio-dev mailing list