@Test public void getInavlidPathUsingDoubleDots() { final URI uri = URI.create("unix:../bogus.ipc"); try { provider.getPath(uri); failBecauseExceptionWasNotThrown(UncheckedIOException.class); } catch (UncheckedIOException ex) { assertThat(ex.getCause()).isExactlyInstanceOf(IOException.class); assertThat(ex.getCause().getCause()).isExactlyInstanceOf(URISyntaxException.class); } }
@Override public Path getPath(final URI uri) { return super.getPath(convert(uri)); }
UnixSocketFileSystemProvider extends DelegatingFileSystemProvider { @Override public Path getPath(final URI uri) { return super.getPath(convert(uri)); } }
UnixSocketFileSystemProvider extends DelegatingFileSystemProvider { @Override public Path getPath(final URI uri) { return super.getPath(convert(uri)); } UnixSocketFileSystemProvider();  UnixSocketFileSystemProvider(final FileSystemProvider delegate); }
UnixSocketFileSystemProvider extends DelegatingFileSystemProvider { @Override public Path getPath(final URI uri) { return super.getPath(convert(uri)); } UnixSocketFileSystemProvider();  UnixSocketFileSystemProvider(final FileSystemProvider delegate); @Override String getScheme(); @Override FileSystem newFileSystem(final URI uri, final Map<String, ?> env); @Override FileSystem getFileSystem(final URI uri); @Override Path getPath(final URI uri); }
UnixSocketFileSystemProvider extends DelegatingFileSystemProvider { @Override public Path getPath(final URI uri) { return super.getPath(convert(uri)); } UnixSocketFileSystemProvider();  UnixSocketFileSystemProvider(final FileSystemProvider delegate); @Override String getScheme(); @Override FileSystem newFileSystem(final URI uri, final Map<String, ?> env); @Override FileSystem getFileSystem(final URI uri); @Override Path getPath(final URI uri);  }