RFR: 8274883: (se) Selector.open throws IAE when the default file system provider is changed to a custom provider [v3]
Maxim Kartashev
duke at openjdk.java.net
Tue Dec 7 11:19:10 UTC 2021
On Tue, 7 Dec 2021 10:45:50 GMT, Michael McMahon <michaelm at openjdk.org> 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).
-------------
PR: https://git.openjdk.java.net/jdk/pull/6722
More information about the nio-dev
mailing list