google / google/jimfs

Sensless feedback loop

Open
#165 1 comment 0 reactions 1 assignee Claimed by @netdpb View on GitHub
P3 type=defect
Dominant language
Java
Stars
2.6k
Forks
296
Avg merge
9m
Merged PRs (30d)
7

Description

`JimfsFileSystemProvider#getFileSystem(URI)` and `JimfsFileSystemProvider#getPath(URI)` just throw exceptions telling you to use `FileSystems.getFileSystem(URI)` and `Paths.get(URI)` respectively, but those recommended methods just fall back on calling these ones that throw unconditional exceptions.

Expectation:

You call `Paths.get(URI)` where the URI has a `jimfs` scheme and you get a `Path` object.

Reality:

You get an exception saying `This method should not be called directly; use Paths.get(URI) instead.`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.