7155168: java/util/TimeZone/Bug6912560.java: expected Asia/Tokyo
Reviewed-by: okutsu
This commit is contained in:
parent
dd42277862
commit
c1126e3727
@ -40,6 +40,9 @@ public class Bug6912560 {
|
||||
// set the user.timezone property
|
||||
String tzname = "Asia/Tokyo";
|
||||
System.setProperty("user.timezone", tzname);
|
||||
// make sure the timezone will be initialized by
|
||||
// the next call to TimeZone.getDefault()
|
||||
TimeZone.setDefault(null);
|
||||
|
||||
System.setSecurityManager(new SecurityManager());
|
||||
TimeZone tz = TimeZone.getDefault();
|
||||
|
Loading…
x
Reference in New Issue
Block a user