RFR: 8305490: CommandProcessor command "dumpclass" produces classes with invalid field descriptors [v2]

Adam Sotona asotona at openjdk.org
Wed Apr 5 06:30:51 UTC 2023


> CommandProcessor command "dumpclass" produces classes with invalid field descriptors. 
> 
> Proposed patch fixes `sun.jvm.hotspot.oops.InstanceKlass::getFieldSignatureIndex` to return correct `getSignatureIndex` instead of invalid `getGenericSignatureIndex`.
> 
> Added condition to  `ClhsdbDumpclass` test assures no errors are reported by `javap` in the dumped classes.
> 
> Please review.
> 
> Thank you,
> Adam

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

  updated copyright header

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/13321/files
  - new: https://git.openjdk.org/jdk/pull/13321/files/ff0b4c99..9077e2eb

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

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

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


More information about the serviceability-dev mailing list