openjdk-17,-21,23 armhf: multiple jtreg test failures due to the time_t transition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-17 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
openjdk-21 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
openjdk-23 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The issue is caused by 64 bit time_t transition.
Multiple jtreg tests fail in Ubuntu noble, armhf because they assert the file modification time:
jdk/nio/
jdk/nio/
java/nio/
java/nio/
java/nio/
java/nio/
tools/javac/
runtime/
runtime/
runtime/
runtime/
runtime/
runtime/
serviceability/
serviceability/
serviceability/
serviceability/
The file modification time is set in sun.nio.
Java_sun_
The function pointer my_futimens_func has the version of the function that assumes 32 bit time_t, causing the failure to set last modification time.
Disabled failing tests for now: https:/ /git.launchpad. net/ubuntu/ +source/ openjdk- 17/diff/ debian/ tests/problems- armhf.txt? id=37ad99b06559 da3ee8d7b56c7c9 70734d64fa318