Integrated: 8255563: Missing NULL checks after JDK-8233624
David Holmes
dholmes at openjdk.java.net
Fri Nov 6 01:40:57 UTC 2020
On Thu, 5 Nov 2020 00:37:30 GMT, David Holmes <dholmes at openjdk.org> wrote:
> JDK-8233624 introduced a check for illegal native method names that will result in the `NativeLookup::*_jni_name` methods returning NULL. JVMCI `registerNativeMethods` uses these APIs without any check for a NULL return, however the methods being registered are part of the JVMCI implementation so should never have an illegal name, so adding a guarantee suffices to deal with that (see comments in JBS issue).
This pull request has now been integrated.
Changeset: 5dfb42fc
Author: David Holmes <dholmes at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/5dfb42fc
Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
8255563: Missing NULL checks after JDK-8233624
Reviewed-by: kvn
-------------
PR: https://git.openjdk.java.net/jdk/pull/1068
More information about the hotspot-compiler-dev
mailing list