On Thu, 2 Feb 2023 20:45:33 GMT, Sergey Bylokhov <[email protected]> wrote:
> > Why do you think so? > > The `done` method hasn't thrown `CancellationException`, and it will not. > > If it had thrown the exception, Prasanta's test would've caught it. > > But the `done` methods which call "get" will start to throw that exception, > right? Implementation of "done" method in the jconsole actually calls "get". > Is that pattern could be common? I see your point now, yes that should not be a problem. ------------- PR: https://git.openjdk.org/jdk/pull/11940
