Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fixing the ImageIO PNG red-blue swap bug?



I don't think I can wait for Apple to issue a patch for this bug.

One should be able to fix the problem on a per-machine basis by taking
the Apple source code for the offending ImageIO class, fixing it, and
modifying the default jar files, replacing the buggy class with the
fixed class.

Presumably the jar file to patch is
/System/Library/Frameworks/JavaVM.framework/Classes/Versions/CurrentJDK/Classes/classes.jar,
and the buggy class file in that jar file is
com/sun/imageio/plugins/png/PNGImageReader.class.

Some questions:

Where can I find the sources?  Is this the jar file in
/System/Library/Frameworks/JavaVM.framework/Classes/Versions/CurrentJDK/Home/src.jar?

Has anyone identified the actual buggy code?  Is there a patch?  Or do
I have to find it myself :-?

Bill
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.