On Thu, 9 Jun 2022 18:44:53 GMT, Phil Race <p...@openjdk.org> wrote:

>> test/jdk/javax/swing/border/EtchedBorder/ScaledEtchedBorderTest.java line 44:
>> 
>>> 42:  * @bug 8279614
>>> 43:  * @summary The left line of the TitledBorder is not painted on 150 
>>> scale factor
>>> 44:  * @requires (os.family == "windows")
>> 
>> It's still unclear to me whether we leave the requirement for Windows only 
>> or remove it. It came up a few times but no clear decision has been taken.
>> 
>> The change is not Windows-specific, the test is not Windows-specific, it can 
>> be run on other platforms. However, fractional UI scales aren't supported on 
>> other platforms but Windows; at the same time, applying fractional scales to 
>> `Graphics` when painting to a `BufferedImage` is supported.
>
> I think it sufficient to make it Windows-specific at this time.
> The BufferedImage case is extremely uncommon.
> Mac is integer only and we don't have any timeline for supporting fractional 
> scaling on Linux

Sounds reasonable. Let's leave it Windows-specific.

-------------

PR: https://git.openjdk.org/jdk/pull/7449

Reply via email to