Integrated: 8260403: javap should be more robust in the face of invalid class files

Adam Sotona asotona at openjdk.java.net
Thu Feb 25 16:05:44 UTC 2021


On Thu, 25 Feb 2021 13:01:30 GMT, Adam Sotona <asotona at openjdk.org> wrote:

> Please review javap fix to handle java.lang.IllegalStateException for classes with invalid Signature attribute.
> New test (T8260403) parsing class with invalid Signature attribute (as described in the bug) is included.
> Fix wraps java.lang.IllegalStateException, reports "Error: Invalid value for Signature attribute: <signature debug info>" and continues.
> 
> Thanks,
> Adam

This pull request has now been integrated.

Changeset: 7d4f60b1
Author:    Adam Sotona <asotona at openjdk.org>
Committer: Jonathan Gibbons <jjg at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/7d4f60b1
Stats:     165 lines in 3 files changed: 164 ins; 0 del; 1 mod

8260403: javap should be more robust in the face of invalid class files

Reviewed-by: vromero

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

PR: https://git.openjdk.java.net/jdk/pull/2724


More information about the compiler-dev mailing list