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