-
Bug
-
Resolution: Fixed
-
P2
-
6u32
-
b40
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2224270 | 7u6 | Sean Coffey | P2 | Closed | Fixed | b12 |
JDK-2224629 | 6u34 | Abhijit Saha | P3 | Closed | Fixed | b01 |
JDK-2224271 | 6u33 | Sean Coffey | P2 | Closed | Fixed | b31 |
SHORT SUMMARY: SEGV on solaris when referencing TZ variable
INDICATORS: Crash seen if no $TZ variable on system (solaris only)
COUNTER INDICATORS:
TRIGGERS: No $TZ variable set
KNOWN WORKAROUND: Mentioned in bugDB report.
PRESENT SINCE: CR 7092679 fix.
HOW TO VERIFY:
NOTES FOR SE: Most likely due to one line where we don't make a null
check when referencing TZ variable. Will confirm shortly.
http://opengrok.ie.oracle.com:8080/opengrok/xref/jdk7u-dev/jdk/src/solaris/nat
ive/java/util/TimeZone_md.c#649 looks suspicious.
i.e
648 #ifdef __solaris__
649 if (strcmp(tz, "localtime") == 0) {
650 tz = getSolarisDefaultZoneID();
REGRESSION: yes - since 7092679
INDICATORS: Crash seen if no $TZ variable on system (solaris only)
COUNTER INDICATORS:
TRIGGERS: No $TZ variable set
KNOWN WORKAROUND: Mentioned in bugDB report.
PRESENT SINCE: CR 7092679 fix.
HOW TO VERIFY:
NOTES FOR SE: Most likely due to one line where we don't make a null
check when referencing TZ variable. Will confirm shortly.
http://opengrok.ie.oracle.com:8080/opengrok/xref/jdk7u-dev/jdk/src/solaris/nat
ive/java/util/TimeZone_md.c#649 looks suspicious.
i.e
648 #ifdef __solaris__
649 if (strcmp(tz, "localtime") == 0) {
650 tz = getSolarisDefaultZoneID();
REGRESSION: yes - since 7092679
- backported by
-
JDK-2224270 (tz) SEGV on solaris if TZ variable not set
-
- Closed
-
-
JDK-2224271 (tz) SEGV on solaris if TZ variable not set
-
- Closed
-
-
JDK-2224629 (tz) SEGV on solaris if TZ variable not set
-
- Closed
-
- relates to
-
JDK-7092679 (tz) Java getting wrong timezone/DST info on Solaris 11
-
- Resolved
-
-
JDK-4512680 user.timezone not initialized correctly on Solaris when TZ is not set
-
- Closed
-
-
JDK-4333356 RFE: Solaris: platform to Java timezone mapping should support /etc/default/init
-
- Resolved
-
(1 relates to)