Hi,
This is a review request for 8u back-port of the fix done in JDK-9. Bug : https://bugs.openjdk.java.net/browse/JDK-8158356 Root cause : The root cause of the crash is - NaN is converted to an integer and used as array index in mlib_ImageScanPoly.c. Fix : The native method previously did not check the validity of the input double argument. Now, I have added a check for finite double values. Webrev : http://cr.openjdk.java.net/~aghaisas/8158356/8u_backport/webrev.00/ Regards, Ajit