-
Bug
-
Resolution: Fixed
-
P3
-
None
-
b14
-
ppc
-
aix
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8296595 | 19u-cpu | Ichiroh Takiguchi | P3 | Resolved | Fixed | master |
JDK-8296230 | 19.0.2 | Ichiroh Takiguchi | P3 | Resolved | Fixed | b04 |
JDK-8296015 | 17.0.6 | Ichiroh Takiguchi | P3 | Resolved | Fixed | b01 |
JDK-8296160 | 11.0.18 | Ichiroh Takiguchi | P3 | Resolved | Fixed | b01 |
By my investigation, "TZ=MEZ-1MESZ,M3.5.0,M10.5.0" timezone was changed to "Europe/Berlin" timezone on AIX platform.
It seems this situation is happened because older AIX did not support "MEZ-1MESZ,M3.5.0,M10.5.0" timezone by TZ environment variable.
https://www.ibm.com/support/pages/managing-time-zone-variable-posix
AIX special code was implemented into src/java.base/unix/native/libjava/TimeZone_md.c.
Current AIX supports "TZ=EST5EDT,M3.2.0/2:00:00,M11.1.0/2:00:00" style.
I think implementation change is required.
strftime() with "%z" does not return ISO 8601 format by default.
XPG_SUS_ENV=ON environment variable setting is required.
https://www.ibm.com/docs/en/aix/7.2?topic=s-strftime-strftime-l-subroutine
But XPG_SUS_ENV=ON is not supported by Hotspot.
(See src/hotspot/os/aix/os_aix.cpp)
Special code is required on this part.
Error output
==========================
STDERR:
stdout: [];
stderr: [Exception in thread "main" java.lang.RuntimeException: Got unexpected timezone information: Thu Aug 25 09:29:10 CEST 2022
at CustomTzIDCheckDST.runTZTest(CustomTzIDCheckDST.java:71)
at CustomTzIDCheckDST.main(CustomTzIDCheckDST.java:50)
]
==========================
- backported by
-
JDK-8296015 CustomTzIDCheckDST.java testcase failed on AIX platform
- Resolved
-
JDK-8296160 CustomTzIDCheckDST.java testcase failed on AIX platform
- Resolved
-
JDK-8296230 CustomTzIDCheckDST.java testcase failed on AIX platform
- Resolved
-
JDK-8296595 CustomTzIDCheckDST.java testcase failed on AIX platform
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/b928a88f
-
Commit openjdk/jdk17u-dev/5b6a4284
-
Commit openjdk/jdk19u/25448dc7
-
Commit openjdk/jdk/3464019d
-
Review openjdk/jdk11u-dev/1477
-
Review openjdk/jdk17u-dev/841
-
Review openjdk/jdk19u/49
-
Review openjdk/jdk/10036