提交 40976eb9 编写于 作者: S sla

7155168: java/util/TimeZone/Bug6912560.java: expected Asia/Tokyo

Reviewed-by: okutsu
上级 de648674
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册