<Swing Dev> RFR: 7190978: javax/swing/JComponent/7154030/bug7154030.java fails on mac

Sergey Bylokhov serb at openjdk.java.net
Mon Nov 2 12:21:58 UTC 2020


On Sat, 31 Oct 2020 11:06:52 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> test/jdk/javax/swing/JComponent/7154030/bug7154030.java line 55:
>> 
>>> 53:  * @build Util
>>> 54:  * @build ExtendedRobot
>>> 55:  * @run main/othervm -Dsun.java2d.uiScale=1 bug7154030
>> 
>> The "sun.java2d.uiScale" does not affect the sizes of the frame on macOS, Is it possible that it was reported on HiDPI screen macOS?
>
> It was reported in macmini (probably connect to hidpi screen) and iMac (I guess having hidpi screen).
> Also, I have seen mach5 job failing on windows too.
> I have posted failing mach5 jobs in JBS.

Then please double-check that the test will pass after the fix on HiDPI screen. Not sure that -Dsun.java2d.uiScale=1 affects such usecase.

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

PR: https://git.openjdk.java.net/jdk/pull/955


More information about the swing-dev mailing list