Details
Description
There are a lot of code in Path to get start position after skipping drive specifier, like:
int start = hasWindowsDrive(uri.getPath()) ? 3 : 0;
Also there is a minor bug in mergePaths:
mergePath("/", "/foo") will yield Path("//foo") which will be parsed as uri authority, not path.