On Sun, 1 Jun 2025 04:53:46 GMT, Hannes Greule <hgre...@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 <hgre...@openjdk.org>
Committer: Chen Liang <li...@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

Reply via email to