We're depending on at least java 1.5 at this point.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1102 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -886,11 +886,7 @@ public class ResourceManager
|
||||
{
|
||||
BufferedImage image;
|
||||
|
||||
// Java 1.4.2 and below can't deal with the MemoryCacheImageInputStream without throwing
|
||||
// a hissy fit.
|
||||
if (iis instanceof ImageInputStream ||
|
||||
getNumericJavaVersion(System.getProperty("java.version")) <
|
||||
getNumericJavaVersion("1.5.0")) {
|
||||
if (iis instanceof ImageInputStream) {
|
||||
image = ImageIO.read(iis);
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user