< prev index next >
src/java.base/share/classes/java/util/TimeZone.java
Print this page
*** 676,686 ****
tz = getTimeZone(zoneID, true);
}
assert tz != null;
final String id = zoneID;
! AccessController.doPrivileged(new PrivilegedAction<Void>() {
@Override
public Void run() {
System.setProperty("user.timezone", id);
return null;
}
--- 676,686 ----
tz = getTimeZone(zoneID, true);
}
assert tz != null;
final String id = zoneID;
! AccessController.doPrivileged(new PrivilegedAction<>() {
@Override
public Void run() {
System.setProperty("user.timezone", id);
return null;
}
< prev index next >