|
|
6b434a |
--- sun/util/calendar/LocalGregorianCalendar.java.keiths 2007-09-07 14:48:19.000000000 -0700
|
|
|
6b434a |
+++ sun/util/calendar/LocalGregorianCalendar.java 2007-09-07 14:52:58.000000000 -0700
|
|
|
6b434a |
@@ -120,8 +120,7 @@ public class LocalGregorianCalendar exte
|
|
|
6b434a |
static LocalGregorianCalendar getLocalGregorianCalendar(String name) {
|
|
|
6b434a |
Properties calendarProps = null;
|
|
|
6b434a |
try {
|
|
|
6b434a |
- String homeDir = (String) AccessController.doPrivileged(
|
|
|
6b434a |
- new sun.security.action.GetPropertyAction("java.home"));
|
|
|
6b434a |
+ String homeDir = (String) System.getProperty("java.home");
|
|
|
6b434a |
final String fname = homeDir + File.separator + "lib" + File.separator
|
|
|
6b434a |
+ "calendars.properties";
|
|
|
6b434a |
calendarProps = (Properties) AccessController.doPrivileged(new PrivilegedExceptionAction() {
|
|
|
6b434a |
--- sun/util/calendar/ZoneInfoFile.java.keiths 2007-09-07 14:54:58.000000000 -0700
|
|
|
6b434a |
+++ sun/util/calendar/ZoneInfoFile.java 2007-09-07 14:55:36.000000000 -0700
|
|
|
6b434a |
@@ -1021,8 +1021,7 @@ public class ZoneInfoFile {
|
|
|
6b434a |
byte[] buffer = null;
|
|
|
6b434a |
|
|
|
6b434a |
try {
|
|
|
6b434a |
- String zi_dir = (String) AccessController.doPrivileged(
|
|
|
6b434a |
- new sun.security.action.GetPropertyAction("user.zoneinfo.dir"));
|
|
|
6b434a |
+ String zi_dir = (String) System.getProperty("user.zoneinfo.dir");
|
|
|
6b434a |
File dir = null;
|
|
|
6b434a |
if (zi_dir != null)
|
|
|
6b434a |
dir = new File(zi_dir);
|
|
|
6b434a |
@@ -1035,8 +1034,7 @@ public class ZoneInfoFile {
|
|
|
6b434a |
}
|
|
|
6b434a |
|
|
|
6b434a |
if (dir == null) {
|
|
|
6b434a |
- String homeDir = (String) AccessController.doPrivileged(
|
|
|
6b434a |
- new sun.security.action.GetPropertyAction("java.home"));
|
|
|
6b434a |
+ String homeDir = (String) System.getProperty("java.home");
|
|
|
6b434a |
zi_dir = homeDir + File.separator + "lib" + File.separator
|
|
|
6b434a |
+ "zi";
|
|
|
6b434a |
}
|