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.

Reply via email to