[OpenJDK 2D-Dev] RFR: 6243376: JPEGImageWriter corrupts color for non-JFIF images with differing sample factors

Phil Race philip.race at oracle.com
Tue Feb 3 20:08:01 UTC 2015


On 02/03/2015 11:15 AM, Sergey Bylokhov wrote:
> Hi Phil.
> The fix looks good.
>
> Note some 2d classes have the similar issues:
> sun.print.MarginsPanel.java:1567
>                 if (lmObj == null || rmObj == null ||
>                     tmObj == null || rmObj == null) {
>                     return;
>
> sun.font.FontFamily.java:80
>         if (family.plain == null && family.bold == null &&
>             family.plain == null && family.bold == null) {

Gosh, looks like those are really old.
The first one might be 14 or 15 years old ..
I'll file one bug for both of these.

>
> I will take care about swing/awt classes.

So there are more there, too ?

-phil.


>
> On 03.02.2015 21:34, Phil Race wrote:
>> https://bugs.openjdk.java.net/browse/JDK-6243376
>> http://cr.openjdk.java.net/~prr/6243376/
>>
>> One-line fix we should have done a long time ago.
>> The test was more work ..
>>
>> -phil.
>>
>
>
> -- 
> Best regards, Sergey.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20150203/8dfdaa7a/attachment.html>


More information about the 2d-dev mailing list