RFR: 8298658: Platform-specific type leaks to platform independent code.

Alan Bateman alanb at openjdk.org
Mon Jan 30 18:13:22 UTC 2023


On Mon, 30 Jan 2023 13:24:13 GMT, Alfonso² Peterssen <duke at openjdk.org> wrote:

> NIO has a very clean separation between platform-dependent FS implementations and user-facing APIs, this is the only pain point we found.
> 
> Our goal (in Espresso) is to override the platform-dependent FS, not just the apllication FS.

BTW: Have you looked at the system property "java.nio.file.spi.DefaultFileSystemProvider" as that can be used to specify an alternative implementation of the default provider.

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

PR: https://git.openjdk.org/jdk/pull/11674


More information about the nio-dev mailing list