[OpenJDK 2D-Dev] RFR [XS] : 8233202: exclude javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java
Prasanta Sadhukhan
prasanta.sadhukhan at oracle.com
Thu Oct 31 08:26:48 UTC 2019
This test tests the newly added public API of BasicGraphicsUtils
(exposing the functionality provided by internal class SwingUtilities2)
for use by third party LAFs in JDK9 and beyond, so I guess we cannot
ditch it completely. Regarding the test fragility, I actually
incorporated the changes proposed by Phil, which are
- add "x" to the position it passes to checkImageContainsSymbol
- increase WIDTH
- use rendering hints to use aliased text in testDrawString()
which makes the test pass in linux but it now creates problem in macos.
We can work on it but probably, it is safe to problem list the test for
linux for now.
Regards
Prasanta
On 30-Oct-19 8:08 PM, Philip Race wrote:
> Theoretically we've been going to fix this fragile test for weeks.
>
> It tests something important or else I'd ditch it completely ..
>
> Prasanta ?
>
> -phil.
>
> On 10/30/19, 7:14 AM, Langer, Christoph wrote:
>>
>> Hi Matthias,
>>
>> looks good, I definitely second that. Let’s wait what 2d folks
>> (Phil?) have to say.
>>
>> Best regards
>>
>> Christoph
>>
>> *From:* Baesken, Matthias <matthias.baesken at sap.com>
>> *Sent:* Mittwoch, 30. Oktober 2019 14:59
>> *To:* 2d-dev at openjdk.java.net
>> *Cc:* Langer, Christoph <christoph.langer at sap.com>
>> *Subject:* RFR [XS] : 8233202: exclude
>> javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java
>>
>> Please review the following small change .
>>
>> It excludes
>> javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java ;
>> the test seems to be fragile on various Linux distros ,
>>
>> for instance on our Ubuntu 18 .
>>
>> The issues are already described in detail here :
>>
>> https://bugs.openjdk.java.net/browse/JDK-8229935
>>
>> „All in all this test looks really fragile. It is a miracle it has
>> passed as much as it has .. I think Linux
>> may expose this because the font being used is more or less "fixed"
>> on the other platforms but
>> on Linux the font being used varies.”
>>
>> As long as 8229935 is notfixed, the test should be excluded at
>> least on Linux .
>>
>> Bug/webrev :
>>
>> https://bugs.openjdk.java.net/browse/JDK-8233202
>>
>> http://cr.openjdk.java.net/~mbaesken/webrevs/8233202.0/
>> <http://cr.openjdk.java.net/%7Embaesken/webrevs/8233202.0/>
>>
>> Thanks, Matthias
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/2d-dev/attachments/20191031/e2c7e843/attachment.html>
More information about the 2d-dev
mailing list