RFR: 8333748: javap crash - Fatal error: Unmatched bit position 0x2 for location CLASS [v2]
Joe Darcy
darcy at openjdk.org
Mon Jun 17 17:09:26 UTC 2024
On Mon, 17 Jun 2024 13:55:50 GMT, Chen Liang <liach at openjdk.org> wrote:
>> `javap` should never silently ignore erroneous class file content.
>> If the flag value violates JVMS - it should be reported as an error and `javap` should reflect that in the return value.
>> On the other hand `javap` should handle such situations, provide relevant error message and continue with the report.
>> It is similar case as `javap` detection of inappropriate CP entry types.
>
> @asotona Thanks for the note, I have updated the code so javap now behaves like your suggestion.
@liach , please file a CSR for this issue to discuss the behavioral changes.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19708#issuecomment-2173914440
More information about the core-libs-dev
mailing list