RFR: 8334502: gtest/GTestWrapper.java fails on armhf due to LogDecorations.iso8601_utctime_test

Vladimir Petko vpetko at openjdk.org
Wed Jun 19 07:02:19 UTC 2024


Due to time_t transition time_t is now 64bit on Ubuntu. zone_hours and zone_min are printed using %02d specifier. This causes random value to be printed as the timezone offset.

Testing - armhf gtest passes on Ubuntu Oracular:

==============================
Test summary
==============================
   TEST                                              TOTAL  PASS  FAIL ERROR   
   gtest:all/server                                   1033  1033     0     0   
==============================
TEST SUCCESS

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

Commit messages:
 - use int instead of time_t to print timezone info

Changes: https://git.openjdk.org/jdk/pull/19782/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19782&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8334502
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/19782.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19782/head:pull/19782

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


More information about the hotspot-runtime-dev mailing list