TimeZone#setDefault() on application server with JDK 1.6
Posted
by chrsk
on Stack Overflow
See other posts from Stack Overflow
or by chrsk
Published on 2010-04-20T09:35:33Z
Indexed on
2010/04/20
9:43 UTC
Read the original article
Hit count: 286
What happens if #setDefault(TimeZone timezone)
is called by a concurrent application running on the same application server with JDK 1.6
As discussed in TimeZone #setDefault changes in JDK 6 the call now changes VM wide, this can have horrible consequences.
If you're not adminsitrating the application server, how to ensure TimeZone doesn't change?
© Stack Overflow or respective owner