【发布时间】:2012-09-13 14:17:18
【问题描述】:
我最近从 10.10 升级到 ubuntu 12.04。从那时起,我在使用 openjdk 6 的 TimeZone 类中得到了 NullPointerException。
TimeZone.getTimeZone("GMT-0:00");
openjdk 7 没有异常,我的同事也没有发现 openjdk6 异常。所以看起来我缺少一些必要的库。
另外,这很好用:TimeZone.getTimeZone("GMT") 在我的机器上使用 openjdk 6
【问题讨论】:
-
你能发布堆栈跟踪吗?
标签: java timezone nullpointerexception ubuntu-12.04