Integrated: 8305490: CommandProcessor command "dumpclass" produces classes with invalid field descriptors
Adam Sotona
asotona at openjdk.org
Wed Apr 5 13:23:26 UTC 2023
On Tue, 4 Apr 2023 07:44:40 GMT, Adam Sotona <asotona at openjdk.org> wrote:
> 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
This pull request has now been integrated.
Changeset: 78ff454f
Author: Adam Sotona <asotona at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/78ff454f1986abdb9b72d3c6c5b1f3bbab823540
Stats: 3 lines in 2 files changed: 1 ins; 0 del; 2 mod
8305490: CommandProcessor command "dumpclass" produces classes with invalid field descriptors
Reviewed-by: cjplummer, fparain
-------------
PR: https://git.openjdk.org/jdk/pull/13321
More information about the serviceability-dev
mailing list