RFR: 8372759: Test build/AbsPathsInImage.java fails after JDK-8370438 [v4]

Matthias Baesken mbaesken at openjdk.org
Thu Dec 11 08:29:58 UTC 2025


> Fei Yang reported this test error on a Debian GNU/Linux 13 (trixie) x86_64 machine:
> 
> 
> $ make test TEST="test/jdk/build/AbsPathsInImage.java"
> 
> STDERR:
> java.lang.Exception: Test failed
>         at AbsPathsInImage.main(AbsPathsInImage.java:132)
>         at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
>         at java.base/java.lang.reflect.Method.invoke(Method.java:565)
>         at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
>         at java.base/java.lang.Thread.run(Thread.java:1516)
> 
> 
> The lto - built libsplashscreen.so was report to cause this.
> To get rid of the unwanted paths in the shared lib  (or in debug info files) we should not only compile but also link with debug prefix settings.

Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:

  Change to spec.gmk.template can be reverted

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28676/files
  - new: https://git.openjdk.org/jdk/pull/28676/files/f5dda1b9..ed003a36

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=28676&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28676&range=02-03

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/28676.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28676/head:pull/28676

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


More information about the build-dev mailing list