RFR: 8268539: several serviceability/sa tests should be run in driver mode
Igor Ignatyev
iignatyev at openjdk.java.net
Thu Jun 10 10:16:27 UTC 2021
Hi all,
could you please review this _test-only_ patch that switches the execution mode of several `serviceability/sa` tests to `driver`? all these tests seem not to perform actual testing, and just organize other JDK executions and validates their outputs.
`ClhsdbDumpclass.java` had to be updated to have access to `./jdk/test/lib/apps/LingeredApp.class` file. Although this also can be fixed by propagating the classpath setting to `javap`, using the path to `.class` file is more clear and relable, and I actually suspect that before `javap` read not the dumped `.class` file, but the one from the test's classpath.
Thanks,
-- Igor
-------------
Commit messages:
- use path to .class file in ClhsdbDumpclass
- update copyright year
- 8268539
Changes: https://git.openjdk.java.net/jdk/pull/4460/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4460&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8268539
Stats: 40 lines in 23 files changed: 0 ins; 0 del; 40 mod
Patch: https://git.openjdk.java.net/jdk/pull/4460.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4460/head:pull/4460
PR: https://git.openjdk.java.net/jdk/pull/4460
More information about the serviceability-dev
mailing list