System.err.println("Expect " + expect);
// CURRENTLY, the following line fails on Windows because a file C:/w/jjg/...
// returns a URI file://C/w/jjg... which incorrectly encodes the drive letter
// in the URI authority. This is against the spec that the authority is
// undefined and breaks the contract that new File(f.toURI()).equals(f.getAbsoluteFile())
System.err.println("Got: " + fo.toUri().getPath());
if (!expect.equals(fo.toUri().getPath())) {
throw new AssertionError();
}
}
public static void main(String... args) throws IOException {