> `ExecutionEnvironment` verifies that the JDK launcher preserves 
> `LD_LIBRARY_PATH` when starting a child VM. A RISC-V QEMU launcher wrapper 
> needs to set this variable to locate the target libraries, so the wrapper 
> overwrites the sentinel value before the child VM starts. The test therefore 
> cannot verify its intended launcher property in this environment.
> 
> This change excludes only RISC-V running under QEMU, using the same 
> `vm.cpu.features` condition already used by other tests. Native RISC-V and 
> all other supported Unix platforms continue to run the test.
> 
> Testing:
> 
> - Reproduced the original failure under `qemu-riscv64-static`: `FAIL: did not 
> get <LD_LIBRARY_PATH=/Bridge/On/The/River/Kwai>`.
> - Verified that the test is not selected when `os.arch=riscv64` and 
> `vm.cpu.features=qemu`.
> - Verified `test/jdk/tools/launcher/ExecutionEnvironment.java` passes on 
> Linux x86_64 (`passed: 1`).
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

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

  8353495: Do not add test-only issue to @bug list

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/32553/files
  - new: https://git.openjdk.org/jdk/pull/32553/files/0a7ba55a..726103cd

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=32553&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32553&range=00-01

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

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

Reply via email to