[XXS] RFR : 8177531 libGetNamedModuleTest.c crash when printing NULL-pointer

Baesken, Matthias matthias.baesken at sap.com
Fri Mar 24 11:28:01 UTC 2017


Hello, I noticed the hotspot test  test/serviceability/jvmti/GetNamedModule/libGetNamedModuleTest.c

crashes on Solaris (x86_64)  , when  in  function get_module,    printf(" ... %s ...", ....) on a NULL-pointer argument is called .

The following  very small fix adjusts this .

Bug :

https://bugs.openjdk.java.net/browse/JDK-8177531

change for 9 :

http://cr.openjdk.java.net/~mbaesken/webrevs/8177531/


Please review this small test change (needed  for  9 and 10 ).


Thanks and regards, Matthias





More information about the hotspot-dev mailing list