Please review the change for following hotspot/jtreg/serviceability/sa/* tests 
to not check for JDK/VM shared libraries when running on static JDK.

- test/hotspot/jtreg/serviceability/sa/ClhsdbPmap.java
- test/hotspot/jtreg/serviceability/sa/sadebugd/PmapOnDebugdTest.java
- test/hotspot/jtreg/serviceability/sa/sadebugd/RunCommandOnServerTest.java

I tested the change on a `static-jdk` binary with a `static-jdk/bin/jhsdb` 
symlink to the `jhsdb` in a regular JDK binary. The tests pass with the change. 
Example test command:

$ make test TEST="serviceability/sa/sadebugd/RunCommandOnServerTest.java" 
JDK_UNDER_TEST=/<snip>/JDK-8355439/build/linux-x86_64-server-fastdebug/images/static-jdk
 
JDK_FOR_COMPILE=/<snip>/JDK-8355439/build/linux-x86_64-server-fastdebug/images/jdk

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

Commit messages:
 - Don't check for JDK/VM shared libraries if Platform.isStatic() is true.

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

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

Reply via email to