RFR: 8343020: SecureDirectoryStream not supported on MacOS

David M. Lloyd duke at openjdk.org
Fri Oct 25 16:52:04 UTC 2024


On Fri, 25 Oct 2024 16:44:08 GMT, David M. Lloyd <duke at openjdk.org> wrote:

> > > There is no `noreg-*` label on the issue. Is this change covered by an existing test?
> > 
> > 
> > DirectoryStream/SecureDS.java is the test for this API. Right now it only runs on Linux (it used to run on Solaris too). If support is extended to macOS then we'll need to change this test to use `@requires` and drop the existing check in the test main.
> 
> I think the existing test will work still, because I don't see anything that restricts the OS, and the `instanceof` test should return `true` now on macos, right?

Never mind, I see: it will pass if everything is working, but it will also pass on macos if it's not working. So, I'll go ahead and make that change.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/21696#issuecomment-2438312311


More information about the nio-dev mailing list