In jpegloader.c, Java_com_sun_javafx_iio_jpeg_JPEGImageLoader_decompressIndirect()
If this method gets a malloc failure while trying to read the stream it throws an error which
says the error was writing a stream :
line 1520 -----> "Writing JPEG Stream");
should read :
line 1520 -----> "Reading JPEG Stream");