blob: 3fd2f7c9c3e79724226be5a2a3dc6627304439ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -Nru openjdk-boot.orig/jdk/src/share/classes/sun/util/calendar/ZoneInfoFile.java openjdk-boot/jdk/src/share/classes/sun/util/calendar/ZoneInfoFile.java
--- openjdk-boot.orig/jdk/src/share/classes/sun/util/calendar/ZoneInfoFile.java 2011-06-11 00:38:11.000000000 +0100
+++ openjdk-boot/jdk/src/share/classes/sun/util/calendar/ZoneInfoFile.java 2011-06-14 01:44:11.082438342 +0100
@@ -486,7 +486,7 @@
String otherDir = getZoneInfoDir(homeDir);
if (otherDir != null)
zi = otherDir;
- zi = FileSystems.getDefault().getPath(zi).toRealPath().toString();
+ zi = new File(zi).getCanonicalPath();
} catch(Exception e) {
}
return zi;
|