RFR: 8292625: jshell crash on "var a = a" [v4]

Jim Laskey jlaskey at openjdk.org
Mon Nov 28 13:11:04 UTC 2022


On Mon, 28 Nov 2022 12:59:20 GMT, Bo Zhang <duke at openjdk.org> wrote:

>> This commit adds the missing `type` assignment when attributing a variable's initial value. In some cases, this issue causes an NPE.
>> 
>> This issue has existed for a long time, but the NPE was swallowed until https://github.com/openjdk/jdk/commit/433394203dce55db95caefcb57bac9ec114ebc47 stopped swallowing such exceptions.
>
> Bo Zhang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add a test

Marked as reviewed by jlaskey (Reviewer).

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

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


More information about the compiler-dev mailing list