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

Alan Bateman alanb at openjdk.org
Mon Nov 27 07:57:05 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

Marked as reviewed by alanb (Reviewer).

Good find.

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

PR Review: https://git.openjdk.org/jdk/pull/16793#pullrequestreview-1749823985
Marked as reviewed by alanb (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/16793#pullrequestreview-1749825267


More information about the core-libs-dev mailing list