RFR: 8378369: TestJhsdbJstackMixedWithVDSOCallCore.java fails if missing vdso64.so

Yasumasa Suenaga ysuenaga at openjdk.org
Sat Feb 21 01:51:41 UTC 2026


On Sat, 21 Feb 2026 01:04:15 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

> Would you ever expect "Build ID:" to be missing from the output if readelf succeeded?

Yes, it is affected by language setting.
If `LANG=ja_JP.UTF-8`, we get following output:


$ readelf -n /usr/lib/jvm/java-25-openjdk/bin/java

Displaying notes found in: .note.gnu.build-id
  所有者            データサイズ        Description
  GNU                  0x00000014       NT_GNU_BUILD_ID (一意なビルドID ビット列)
    ビルドID: 4cee504c1029accec08beae4d2ad09516b49015f


"ビルドID" means "Build ID" in Japanese.

I know the test is better to run with `C` or `en_US`, but I think it is better to check `NoSuchElementException`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29854#discussion_r2835678720


More information about the serviceability-dev mailing list