The SecureDS.java jtreg test is failing in JDK 11 and JDK 17 when running on Alpine Linux OS starting from version 3.19. This test passes on earlier versions of Alpine, such as 3.18, with the same Java binaries. Although it appears on the surface to be an issue related to Alpine, we're filing a bug here out of an abundance of caution - in case the Alpine update merely surfaced a latent bug in the JDK. Note that we have filed a bug in the Alpine project as well to see if we can get some clarity from that side of things (https://gitlab.alpinelinux.org/alpine/aports/-/issues/16570).
When running the test, the following error and exception occurs:
Failed. Execution failed: `main' threw exception: java.lang.AssertionError: SecureDirectoryStream not supported.
When running the test, the following error and exception occurs:
Failed. Execution failed: `main' threw exception: java.lang.AssertionError: SecureDirectoryStream not supported.