[lworld] RFR: JDK-8234364: [lworld] ValueBootstrapMethods::isSubstitutable0 should do null check and type check

Roger Riggs rriggs at openjdk.java.net
Tue Jul 21 19:58:05 UTC 2020


On Tue, 21 Jul 2020 18:07:07 GMT, Mandy Chung <mchung at openjdk.org> wrote:

> NPE was only reproducible with LW2 but not in LW3.   This patch adds null check and type check in
> `ValueBootstrapMethods::isSubstitutable0` to ensure the invoker is called only when the parameters are non-null and of
> the same type.

Looks ok.

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

PR: https://git.openjdk.java.net/valhalla/pull/114


More information about the valhalla-dev mailing list