[9] RFR(XS): 8180565: Null pointer dereferences of ConstMethod::method()
Tobias Hartmann
tobias.hartmann at oracle.com
Thu May 18 14:08:36 UTC 2017
Hi,
please review the following patch:
https://bugs.openjdk.java.net/browse/JDK-8180565
http://cr.openjdk.java.net/~thartmann/8180565/webrev.00/
ConstMethod::method() returns _constants->pool_holder()->method_with_idnum(_method_idnum) which may be NULL. We need to check for NULL before dereferencing.
Thanks,
Tobias
More information about the hotspot-compiler-dev
mailing list