Re: RFR 8248187: javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java fails with String is not properly drawn

2020-06-25 Thread Pankaj Bansal
ok, looks good to me Pankaj On 25/06/20 4:48 PM, Prasanta Sadhukhan wrote: It is intentional as this is a headless test so nothing is being shown but to get a feel of why it fails when it fails, I have added the bufferedimage save. Regards Prasanta On 25-Jun-20 11:39 AM, Pankaj Bansal wrote

Re: RFR 8248187: javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java fails with String is not properly drawn

2020-06-25 Thread Prasanta Sadhukhan
It is intentional as this is a headless test so nothing is being shown but to get a feel of why it fails when it fails, I have added the bufferedimage save. Regards Prasanta On 25-Jun-20 11:39 AM, Pankaj Bansal wrote: Hello Prasanta, I see that you have saved the image before throwing a excep

Re: RFR 8248187: javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java fails with String is not properly drawn

2020-06-24 Thread Pankaj Bansal
Hello Prasanta, I see that you have saved the image before throwing a exception. Is this intentional or you were using it for debugging and forgot to remove it? Regards, Pankaj On 24/06/20 8:29 PM, Prasanta Sadhukhan wrote: Hi All, Please review a test only fix for an issue seen in ubunt

Re: RFR 8248187: javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java fails with String is not properly drawn

2020-06-24 Thread Sergey Bylokhov
Looks fine. On 6/24/20 7:59 am, Prasanta Sadhukhan wrote: Hi All, Please review a test only fix for an issue seen in ubuntu linux 20.04. The test draws "AOB" with and without underline underneath and then looks to try to calculate the midpoint of "O" and then expects to see the transition from

RFR 8248187: javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java fails with String is not properly drawn

2020-06-24 Thread Prasanta Sadhukhan
Hi All, Please review a test only fix for an issue seen in ubuntu linux 20.04. The test draws "AOB" with and without underline underneath and then looks to try to calculate the midpoint of "O" and then expects to see the transition from top to bottom of bg->fg->bg->fg->bg as you get when you cro