On Fri, 22 Oct 2021 19:25:28 GMT, Phil Race <p...@openjdk.org> wrote:
> This test has only failed once - for reasons that are not clear. > I wanted to just increase the timeout but the test was written such that it > always waited as long > as the timeout since it had an un-canceled scheduled task. > > So I've also made the test cancel the task once it is complete and made the > variables volatile > so that they should be read properly by the other thread. Probably you can consider rectifying the wild card imports also... ------------- Marked as reviewed by psadhukhan (Reviewer). PR: https://git.openjdk.java.net/jdk/pull/6087