On Mon, 21 Feb 2022 12:16:53 GMT, Andrey Turbanov <aturba...@openjdk.org> wrote:

> Method `isAssignableFrom` is opposite: it brings unnecessary complexity in 
> the code. And it's easy to confuse orders of parameters. Even JBS confirms 
> that:

Maybe we should add `Class::isSubclassOf(Class<?> that)` that performs 
`that.isAssignableFrom(this)`:

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

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

Reply via email to