RFR: 8316342: CLHSDB "dumpclass" command produces invalid classes
Ashutosh Mehra
asmehra at openjdk.org
Thu Sep 28 21:31:26 UTC 2023
Please review this change to fix the operands of the bytecodes that operate on fields when dumping a class using SA.
Testing: hotspot_serviceability
I have also verified that `test/hotspot/jtreg/serviceability/sa/ClhsdbDumpclass.javaClhsdbDumpclass.java`, which is in the problem list because of this issue, passes with this change.
I have also verified it by dumping the class that has getstatic/putstatic bytecodes and comparing the bytecodes manually with the original classfile.
-------------
Commit messages:
- Remove ClhsdbDumpclass.java from ProblemList
- 8316342: CLHSDB "dumpclass" command produces invalid classes
Changes: https://git.openjdk.org/jdk/pull/15973/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15973&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8316342
Stats: 49 lines in 2 files changed: 7 ins; 37 del; 5 mod
Patch: https://git.openjdk.org/jdk/pull/15973.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/15973/head:pull/15973
PR: https://git.openjdk.org/jdk/pull/15973
More information about the serviceability-dev
mailing list