Why does loading this jpg using JavaIO give CMMException?

前端 未结 3 1563
说谎
说谎 2020-12-19 04:29

ImageIO.read(imagePath) with this file gives a CMMException, why cant Java cope with this seemingly valid file http://www.jthink.net/jaikoz/scratch/front.jpg



        
3条回答
  •  春和景丽
    2020-12-19 05:24

    BTW, this problem is fixed in JDK8 (notice the commit at the bottom of http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7064516). I've confirmed that a pre-release build of JDK8 properly loads images that JDK7 fails on as described above.

提交回复
热议问题