On Tue, 17 May 2022 11:15:19 GMT, Alan Bateman <al...@openjdk.org> wrote:
> This is a test fix. ThreadAPI.testGetStackTrace3 tests Thread::getStackTrace > on a thread doing a selection operation. The test is not reliable as it > expects to see the "select" method in the stack trace after waiting 200ms. > The test is changed to poll the stack trace so that it's no longer dependent > on sleep. > > The update includes a drive-by change to the test description to use > `@enablePreview`. This pull request has now been integrated. Changeset: 8535d51d Author: Alan Bateman <al...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/8535d51db7e1c33218c4254e774de4ca4ca60023 Stats: 10 lines in 1 file changed: 3 ins; 2 del; 5 mod 8286788: Test java/lang/Thread/virtual/ThreadAPI.testGetStackTrace3 fails Reviewed-by: darcy, jpai ------------- PR: https://git.openjdk.java.net/jdk/pull/8743