On Wed, 8 Jun 2022 21:30:28 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:

>> Alisen Chung has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   fixed declarations
>
> 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

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

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

Reply via email to