Noticed this today.
Given that a file named \"existing\" exists in the PWD of a java process (windows).
new File(\"existing\").exists() => true
This is what's happening. But I agree because this is confusing
new File("", "test").getAbsolutePath() => /test new File(".", "test").getAbsolutePath() => ${pwd}/test
I have no idea why this is the case because I had assumed it would also be pwd for the first one.