jdk/src/share/classes/sun/util/calendar/ZoneInfoFile.java
changeset 9025 a72fc1fc4b71
parent 7668 d4a77089c587
child 11130 c7093e306a34
equal deleted inserted replaced
9021:5cf29386a520 9025:a72fc1fc4b71
   477         new PrivilegedAction<String>() {
   477         new PrivilegedAction<String>() {
   478             public String run() {
   478             public String run() {
   479                 String zi = System.getProperty("java.home") +
   479                 String zi = System.getProperty("java.home") +
   480                     File.separator + "lib" + File.separator + "zi";
   480                     File.separator + "lib" + File.separator + "zi";
   481                 try {
   481                 try {
   482                     zi = FileSystems.getDefault().getPath(zi).toRealPath(true).toString();
   482                     zi = FileSystems.getDefault().getPath(zi).toRealPath().toString();
   483                 } catch(Exception e) {
   483                 } catch(Exception e) {
   484                 }
   484                 }
   485                 return zi;
   485                 return zi;
   486             }
   486             }
   487         });
   487         });