Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8340465

Timezone printed in hs_err file is corrupt on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • hotspot

      Noticed something odd about timezone printing in a Windows hs_err file, e.g.

      Time: Wed Sep 18 17:20:55 2024 /GM elapsed time: 4.001403 seconds (0d 0h 0m 4s)

      ..presumably something/GMT was in use.

      My latest build on Linux is OK:

      Time: Thu Sep 19 10:21:48 2024 BST elapsed time: 55963.456177 seconds (0d 15h 32m 43s)

      But on Windows:

      Time: Thu Sep 19 10:26:35 2024 ope elapsed time: 0.065712 seconds (0d 0h 0m 0s)

      $ echo $TZ
      Europe/London

      ..that was running in cygwin. But similarly running in a Windows command window:

      Time: Thu Sep 19 10:26:35 2024 ope elapsed time: 0.065712 seconds (0d 0h 0m 0s)

        1. main.cpp
          2 kB
          Gerard Ziemski

            kevinw Kevin Walls
            kevinw Kevin Walls
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: