[Bug 199190] [regression]openjdk7 do not use local timezone,while openjdk6 ok
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Apr 6 02:01:23 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199190
Bug ID: 199190
Summary: [regression]openjdk7 do not use local timezone,while
openjdk6 ok
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Keywords: regression
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: amutu at amutu.com
Keywords: regression
after upgrade openjdk to 7,the default time zone of my java program do not use
the system timezone and the default time zone became GMT instead of CST.
the workaround is adding -Duser.timezone=Asia/Shanghai to the java lancher
system info:
[ ~]$ date
2015年 4月 6日 星期一 09时56分54秒 CST
[ ~]$ locale
LANG=zh_CN.UTF-8
LC_CTYPE="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_ALL=
[ ~]$ java -version
openjdk version "1.7.0_71"
OpenJDK Runtime Environment (build 1.7.0_71-b14)
OpenJDK 64-Bit Server VM (build 24.71-b01, mixed mode)
[ ~]$ uname -a
FreeBSD 10.1-RELEASE-p6 FreeBSD 10.1-RELEASE-p6 #0: Tue Feb 24 19:00:21 UTC
2015 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list