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

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


On Wed, 5 Apr 2023 06:30:51 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
>
> Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
> 
>   updated copyright header

Thank you, I've updated test copyright header.

Yes, it was identified when working on [JDK-8294969](https://bugs.openjdk.org/browse/JDK-8294969), however it is still work in progress.

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

PR Comment: https://git.openjdk.org/jdk/pull/13321#issuecomment-1496987115


More information about the serviceability-dev mailing list