Integrated: 8320618: NPE: Cannot invoke "java.lang.constant.ClassDesc.isArray()" because "this.sym" is null

Adam Sotona asotona at openjdk.org
Mon Nov 27 08:28:18 UTC 2023


On Thu, 23 Nov 2023 11:52:05 GMT, Adam Sotona <asotona at openjdk.org> wrote:

> ClassFile API StackMapGenerator caused a NPE for a test case with invalid sequence of instructions.
> This fix simply avoids the NPE and adds StackMapsTest::testInvalidAALOADStack
> 
> Please review.
> 
> Thanks,
> Adam

This pull request has now been integrated.

Changeset: 28d3762b
Author:    Adam Sotona <asotona at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/28d3762bd30a31623f2ed97a1870313d3a2b9acb
Stats:     15 lines in 2 files changed: 12 ins; 1 del; 2 mod

8320618: NPE: Cannot invoke "java.lang.constant.ClassDesc.isArray()" because "this.sym" is null

Reviewed-by: alanb

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

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


More information about the core-libs-dev mailing list