On Mon, 7 Jun 2021 18:49:19 GMT, Joe Wang <jo...@openjdk.org> wrote:

> Fixes the addVariable/addParam methods in the SymbolTable to check types 
> before casting.

Looks good. I'd be tempted to write `v instanceof Param p ? p : null;`, but 
then it could not be backported.

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

Marked as reviewed by naoto (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/4398

Reply via email to