--- jdk8/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c.orig 2015-05-20 10:39:35.248345148 +0100 +++ jdk8/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c 2015-05-20 10:40:00.157795239 +0100 @@ -310,7 +310,8 @@ free(pBitmapBits); free(pOldBitmapBits); - DGifCloseFile(gif); + int errorCode = 0; + DGifCloseFile(gif, &errorCode); return 1; }