The file canonicalization cache has long-standing correctness issues; see JDK-7066948. For this reason, the cache is now disabled by default. It can be re-enabled by setting the `sun.io.useCanonCaches` system property. The cache was removed in JDK 21; see JDK-8309215.
|