Integrated: 8292625: jshell crash on "var a = a"
Bo Zhang
duke at openjdk.org
Tue Nov 29 14:00:58 UTC 2022
On Mon, 21 Nov 2022 13:54:13 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.
This pull request has now been integrated.
Changeset: 33587ffd
Author: Bo Zhang <zhangbodut at gmail.com>
Committer: Jan Lahoda <jlahoda at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/33587ffd35c568c1ef034f064e6f3f06fe9943c3
Stats: 73 lines in 3 files changed: 71 ins; 0 del; 2 mod
8292625: jshell crash on "var a = a"
Reviewed-by: jlaskey, jlahoda
-------------
PR: https://git.openjdk.org/jdk/pull/11263
More information about the compiler-dev
mailing list