Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Apr 2015 02:01:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 199190] [regression]openjdk7 do not use local timezone,while openjdk6 ok
Message-ID:  <bug-199190-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D199190

            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@FreeBSD.org
          Reporter: amutu@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=3DAsia/Shanghai to the java lanch=
er

system info:
[ ~]$ date
2015=E5=B9=B4 4=E6=9C=88 6=E6=97=A5 =E6=98=9F=E6=9C=9F=E4=B8=80 09=E6=97=B6=
56=E5=88=8654=E7=A7=92 CST
[ ~]$ locale
LANG=3Dzh_CN.UTF-8
LC_CTYPE=3D"zh_CN.UTF-8"
LC_COLLATE=3D"zh_CN.UTF-8"
LC_TIME=3D"zh_CN.UTF-8"
LC_NUMERIC=3D"zh_CN.UTF-8"
LC_MONETARY=3D"zh_CN.UTF-8"
LC_MESSAGES=3D"zh_CN.UTF-8"
LC_ALL=3D
[ ~]$ 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@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  a=
md64

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199190-13>