I've seen something weird on Linux: new File("/ssss/../").getCanonicalFile()' = / new File("/ssss/../../").getCanonicalFile()' = /.. new File("/ssss/../../../").getCanonicalFile()' = / new File("/ssss/../../../../").getCanonicalFile()' = /..
and new File("/ssss/../..").getCanonicalFile().getCanonicalFile() = / Is "/.." canonical? Shouldn't getCanonicalFile() be idempotent? Thanks Max