On Mon, 6 Dec 2021 22:22:14 GMT, Weijun Wang <wei...@openjdk.org> wrote:
> Add null check. I must have thought the NPE will be thrown anyway but the > `catch Exception` block swallows it. > > I added a noreg-trivial label. If you think differently can add one. This pull request has now been integrated. Changeset: 10db0e41 Author: Weijun Wang <wei...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/10db0e41634b62be5c1a931bd54ac4260108670d Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod 8277932: Subject:callAs() not throwing NPE when action is null Reviewed-by: rriggs ------------- PR: https://git.openjdk.java.net/jdk/pull/6728