<AWT Dev> RFR: 8259729: Missed JNFInstanceOf -> IsInstanceOf conversion
Sergey Bylokhov
serb at openjdk.java.net
Wed Jan 13 21:13:08 UTC 2021
On Wed, 13 Jan 2021 20:35:55 GMT, Phil Race <prr at openjdk.org> wrote:
> One line fix of a missed update
src/java.desktop/macosx/native/libawt_lwawt/awt/JavaComponentAccessibility.m line 1456:
> 1454:
> 1455: id value = nil;
> 1456: if ((*env)->IsInstanceOf(env, jparent, jc_Container)) {
Not sure, but do we need to check the jparent to NULL? "A NULL object can be cast to any class."
-------------
PR: https://git.openjdk.java.net/jdk/pull/2066
More information about the awt-dev
mailing list