Description
in the list implementation:
SecurityManager security = System.getSecurityManager();
if (security != null)
if (!isDirectory() || !canRead())
{ return null; }isDirectory and canRead also check security by security.checkRead, it's unnecessary and time cost. I'll attach patch to fix this.