<Swing Dev> RFR: 8015602: [macosx] Test javax/swing/SpringLayout/4726194/bug4726194.java fails on MacOSX [v2]

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Tue Oct 27 08:05:21 UTC 2020


On Tue, 27 Oct 2020 07:10:31 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> The test fails on macOS when Aqua L&F is enabled:
>>> Test4 works well for all our LaFs because they set symmetrical insets for the JTextField, when Aqua sets 6 points for top/bottom and 7 for left/right which breaks the testing routine with the hardcoded values. The empty border should be set for the tested JTextField.
>> https://bugs.openjdk.java.net/browse/JDK-7124209?focusedCommentId=12231936&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-12231936
>> 
>> Mixed story of this bug.
>> 
>> 1. Initially it was found by https://bugs.openjdk.java.net/browse/JDK-7124209
>>    but for some reason the change for that bug missed the actual fix and just moved the test to the open repo.
>> 
>> 2. But it did not appear as failed because it was problemlisted by the
>>     https://bugs.openjdk.java.net/browse/JDK-8198399
>> 3. Recently it was de-problemlisted by the 
>>    https://bugs.openjdk.java.net/browse/JDK-8254976
>> 4. But the check via mach5 missed this issue, becouse on the headless systems default L&F is Metal not Aqua.
>
> Sergey Bylokhov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update bug4726194.java

Marked as reviewed by psadhukhan (Reviewer).

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

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


More information about the swing-dev mailing list