On Thu, 23 Sep 2021 18:04:34 GMT, Andrey Turbanov <github.com+741251+turban...@openjdk.org> wrote:
> Update code checks both non-null and instance of a class in jdk.jdi module > classes. > The checks and explicit casts could also be replaced with pattern matching > for the instanceof operator. > Similar cleanups > 1. [JDK-8273484](https://bugs.openjdk.java.net/browse/JDK-8273484) java.naming > 2. [JDK-8258422](https://bugs.openjdk.java.net/browse/JDK-8258422) java.base Looks good. Thanks, Serguei ------------- Marked as reviewed by sspitsyn (Reviewer). PR: https://git.openjdk.java.net/jdk/pull/5659