TimeZone.setDefault changes in JDK6

后端 未结 3 562
不知归路
不知归路 2020-12-06 00:44

I just noticed that JDK 6 has a different approach to setting a default TimeZone than JDK5.

Previously the new default would be stored in a thread-local variable. W

3条回答
  •  粉色の甜心
    2020-12-06 01:18

    This was probably done to fix a bug. I'd search bugs.sun.com to find the rationale for it. (Clues might also be found in the release notes.)

提交回复
热议问题