RFR: 8352046: AIX: Test testEcoFriendly() in /jdk/tools/launcher/ExecutionEnvironment.java makes no sense for aix and musl

Joachim Kern jkern at openjdk.org
Fri Mar 14 11:52:40 UTC 2025


The test `testEcoFriendly()` checks if the launcher pollutes the `LD_LIBRARY_PATH` environment variable.
Because aix and musl intentionally pollute the `LD_LIBRARY_PATH`, it does not make sense to make this test somehow passing with crude workarounds, which even do not work in any case. So we skip this sub test for aix and musl.

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

Commit messages:
 - JDK-8352046

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

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


More information about the core-libs-dev mailing list