--- title: sun.io.useCanonCaches Java System Property prop: sun.io.useCanonCaches description: The sun.io.useCanonCaches java system property is used to disable the canonical paths cache layout: layout date: Last Modified nav: system tags: networking since: 1.4 example_value: false ---
Java System Property is used to disable the canonical paths cache.true
OverviewThe java.io.File
class implements an internal cache (java.io.ExpiringCache
) of canonical paths designed to improve performance of the getCanonicalFile
and getCanonicalPath
methods.
This cache has been known to cause security issues on Windows due to file system case insensitivity.