RFR: 8274883: (se) Selector.open throws IAE when the default file system provider is changed to a custom provider [v3]
Michael McMahon
michaelm at openjdk.java.net
Tue Dec 7 11:54:13 UTC 2021
On Tue, 7 Dec 2021 11:16:31 GMT, Maxim Kartashev <duke at openjdk.java.net> wrote:
> > I can sponsor it when we are finished with the review.
>
> Thank you, much appreciated!
>
> > Would it be possible to refer to the TestProvider in the SelectorProvider/spi directory in the @build directive, instead of copying it over to the Selector directory?
>
> I looked for a way to do that, but couldn't find any. Besides, the new variant of the custom provider is much smaller and simpler than the "original" `TestProvider` and slightly better suits the purpose. So it's not a completely wasted effort (i.e. if things break in `TestProvider` for reasons unrelated to Unix domain sockets, the new test is less likely to break).
That's okay with me. It's useful to have it in the same directory anyway. I'm just running the patch through the test system here now.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6722
More information about the nio-dev
mailing list