equal
deleted
inserted
replaced
199 cpath = ""; |
199 cpath = ""; |
200 return; |
200 return; |
201 } |
201 } |
202 |
202 |
203 // store only the canonical cpath if possible |
203 // store only the canonical cpath if possible |
204 cpath = AccessController.doPrivileged(new PrivilegedAction<String>() { |
204 cpath = AccessController.doPrivileged(new PrivilegedAction<>() { |
205 public String run() { |
205 public String run() { |
206 try { |
206 try { |
207 String path = cpath; |
207 String path = cpath; |
208 if (cpath.endsWith("*")) { |
208 if (cpath.endsWith("*")) { |
209 // call getCanonicalPath with a path with wildcard character |
209 // call getCanonicalPath with a path with wildcard character |