RFR: JDK-8304063: tools/jpackage/share/AppLauncherEnvTest.java fails when checking LD_LIBRARY_PATH

Matthias Baesken mbaesken at openjdk.org
Wed Mar 15 11:53:18 UTC 2023


The test fails on Alpine Linux 3.17, when checking the environment variable LD_LIBRARY_PATH; looks like the actual env variable is much longer than the test expects. It turned out that at least on Linux (probably also on other OS like AIX)  the actual env variable has the expected string at it's end, but might contain more path entries ( LD_LIBRARY_PATH can be adjusted by jvm - https://github.com/openjdk/jdk/blob/master/src/java.base/unix/native/libjli/java_md.c  ).

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

Commit messages:
 - JDK-8304063

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

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


More information about the core-libs-dev mailing list