Integrated: 8292899: CustomTzIDCheckDST.java testcase failed on AIX platform

Ichiroh Takiguchi itakiguchi at openjdk.org
Sun Sep 4 07:25:09 UTC 2022


On Fri, 26 Aug 2022 07:26:46 GMT, Ichiroh Takiguchi <itakiguchi at openjdk.org> wrote:

> After `test/jdk/java/util/TimeZone/CustomTzIDCheckDST.java` testcase was integrated, it failed on the AIX platform.
> 
> 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)
> ]
> 
> 
> 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. 
> 
> Some pre-submit tests are failed, but I think these are not related this change since modified parts are just for AIX platform.

This pull request has now been integrated.

Changeset: 3464019d
Author:    Ichiroh Takiguchi <itakiguchi at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3464019d7e8fe57adc910339c00ba79884c77852
Stats:     17 lines in 1 file changed: 11 ins; 1 del; 5 mod

8292899: CustomTzIDCheckDST.java testcase failed on AIX platform

Reviewed-by: naoto

-------------

PR: https://git.openjdk.org/jdk/pull/10036


More information about the core-libs-dev mailing list