Integrated: 8358078: javap crashes with NPE on preview class file

Hannes Greule hgreule at openjdk.org
Thu Jun 5 01:43:58 UTC 2025


On Sun, 1 Jun 2025 04:53:46 GMT, Hannes Greule <hgreule at openjdk.org> wrote:

> This change addresses a NPE in javap when trying to print a class with minorVersion != 0. With this change, we fall back to the methods that don't take a `ClassFileFormatVersion` in such case.

This pull request has now been integrated.

Changeset: 575806c0
Author:    Hannes Greule <hgreule at openjdk.org>
Committer: Chen Liang <liach at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/575806c0e5584ea24cda80158070579b88c477f7
Stats:     102 lines in 2 files changed: 100 ins; 0 del; 2 mod

8358078: javap crashes with NPE on preview class file

Reviewed-by: liach

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

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


More information about the compiler-dev mailing list