[OpenJDK 2D-Dev] RFR [XS] : 8233202: exclude javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java
matthias.baesken at sap.com
Thu Oct 31 08:51:00 UTC 2019
* We can work on it but probably, it is safe to problem list the test for linux for now.
Ok, great. May I add you as reviewer ?
Best regards, Matthias
From: Prasanta Sadhukhan <prasanta.sadhukhan at oracle.com>
Sent: Donnerstag, 31. Oktober 2019 09:27
To: Philip Race <philip.race at oracle.com>; Langer, Christoph <christoph.langer at sap.com>
Cc: Baesken, Matthias <matthias.baesken at sap.com>; 2d-dev at openjdk.java.net
Subject: Re: [OpenJDK 2D-Dev] RFR [XS] : 8233202: exclude javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java
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.
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 ..
On 10/30/19, 7:14 AM, Langer, Christoph wrote:
looks good, I definitely second that. Let's wait what 2d folks (Phil?) have to say.
From: Baesken, Matthias <matthias.baesken at sap.com><mailto:matthias.baesken at sap.com>
Sent: Mittwoch, 30. Oktober 2019 14:59
To: 2d-dev at openjdk.java.net<mailto:2d-dev at openjdk.java.net>
Cc: Langer, Christoph <christoph.langer at sap.com><mailto: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 :
"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 not fixed, the test should be excluded at least on Linux .
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the 2d-dev