@@ -199,11 +199,11 @@ cpath = ""; return; } // store only the canonical cpath if possible - cpath = AccessController.doPrivileged(new PrivilegedAction<String>() { + cpath = AccessController.doPrivileged(new PrivilegedAction<>() { public String run() { try { String path = cpath; if (cpath.endsWith("*")) { // call getCanonicalPath with a path with wildcard character