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

Sergey Bylokhov serb at openjdk.java.net
Tue Oct 27 20:29:20 UTC 2020


On Tue, 27 Oct 2020 00:50:24 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.

This pull request has now been integrated.

Changeset: dc85a3fe
Author:    Sergey Bylokhov <serb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/dc85a3fe
Stats:     40 lines in 1 file changed: 20 ins; 3 del; 17 mod

8015602: [macosx] Test javax/swing/SpringLayout/4726194/bug4726194.java fails on MacOSX

Reviewed-by: psadhukhan, pbansal

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

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


More information about the swing-dev mailing list