Integrated: 8279876: Clean up: isAssignableFrom usages in xpath and jdk internal classes

Joe Wang joehw at openjdk.java.net
Fri Apr 8 16:38:39 UTC 2022


On Tue, 5 Apr 2022 23:05:47 GMT, Joe Wang <joehw at openjdk.org> wrote:

> Clean up the usages of isAssignableFrom in a few xpath and jdk/internal classes where the checks were really about equality or whether they were the exact class types. It was why they worked nonetheless even though some of them were backwards.
> 
> Test: existing tests passed.

This pull request has now been integrated.

Changeset: 0a026759
Author:    Joe Wang <joehw at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/0a0267590fad6a2d14d499588c97bb11e554feb9
Stats:     26 lines in 6 files changed: 1 ins; 0 del; 25 mod

8279876: Clean up: isAssignableFrom usages in xpath and jdk internal classes

Reviewed-by: naoto, lancea

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

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


More information about the core-libs-dev mailing list