Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8136517

[macosx]Test java/awt/Focus/8073453/AWTFocusTransitionTest.java fails on MacOSX

    • b20
    • generic
    • generic

        Test name(s): java/awt/Focus/8073453/AWTFocusTransitionTest.java
        JDK tested:9b80,9b79
        OS tested:MacOSX, Windows
        Is it a regression? No
        Regression introduced in release/build: N/A
                                       
        Is it platform specific? Yes ( fails in MacOSX and passes in Windows)
                              
        General Description:
        ----------System.err:(14/1136)----------
        java.lang.RuntimeException: Test Failed! Incorrect focus owner: null, but expected: java.awt.TextField[textfield0,0,1,300x92,text=,editable,selection=0-0]
        at AWTFocusTransitionTest.checkFocusOwner(AWTFocusTransitionTest.java:107)
        at AWTFocusTransitionTest.main(AWTFocusTransitionTest.java:51)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:519)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
        at java.lang.Thread.run(Thread.java:746)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Test Failed! Incorrect focus owner: null, but expected: java.awt.TextField[textfield0,0,1,300x92,text=,editable,selection=0-0]
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test Failed! Incorrect focus owner: null, but expected: java.awt.TextField[textfield0,0,1,300x92,text=,editable,selection=0-0]

            [JDK-8136517] [macosx]Test java/awt/Focus/8073453/AWTFocusTransitionTest.java fails on MacOSX

            Fix request (11u):
            Request backport of UI test for Oracle parity. Test passes on my Mac. No risk.

            Christoph Langer added a comment - Fix request (11u): Request backport of UI test for Oracle parity. Test passes on my Mac. No risk.

            Robo Duke added a comment -
            Changeset: 0438cea6
            Author: Pankaj Bansal <pbansal@openjdk.org>
            Date: 2021-04-28 04:48:07 +0000
            URL: https://git.openjdk.java.net/jdk/commit/0438cea65b927bcf3d039b290de7fd7c60a06922

            Robo Duke added a comment - Changeset: 0438cea6 Author: Pankaj Bansal < pbansal@openjdk.org > Date: 2021-04-28 04:48:07 +0000 URL: https://git.openjdk.java.net/jdk/commit/0438cea65b927bcf3d039b290de7fd7c60a06922

            Issue is not observed with JDK 9 version

            java version "9-internal"
            Java(TM) SE Runtime Environment (build 9-internal+0-2016-06-03-165214.mahalder.client)
            Java HotSpot(TM) 64-Bit Server VM (build 9-internal+0-2016-06-03-165214.mahalder.client, mixed mode)

            Hence closing the issue.

            Manajit Halder (Inactive) added a comment - Issue is not observed with JDK 9 version java version "9-internal" Java(TM) SE Runtime Environment (build 9-internal+0-2016-06-03-165214.mahalder.client) Java HotSpot(TM) 64-Bit Server VM (build 9-internal+0-2016-06-03-165214.mahalder.client, mixed mode) Hence closing the issue.

            Pooja Chopra (Inactive) added a comment - - edited
            Machine :stt-mac-12.ru.oracle.com, stt-mac-13.ru.oracle.com
            User/Pass: gtee/Gt33acct

            http://scaaa008.us.oracle.com:9502/runs/01111/1111966.ManualSubmit/1111966.ManualSubmit-1/workDir/java/awt/Focus/8073453/AWTFocusTransitionTest.jtr

            RULE "java/awt/Focus/8073453/AWTFocusTransitionTest.java" Exception java.lang.RuntimeException: Test Failed! Incorrect focus owner: null, but expected: java.awt.TextField[textfield0,0,1,30...,text=,editable,selection=0-0]

            Pooja Chopra (Inactive) added a comment - - edited Machine :stt-mac-12.ru.oracle.com, stt-mac-13.ru.oracle.com User/Pass: gtee/Gt33acct http://scaaa008.us.oracle.com:9502/runs/01111/1111966.ManualSubmit/1111966.ManualSubmit-1/workDir/java/awt/Focus/8073453/AWTFocusTransitionTest.jtr RULE "java/awt/Focus/8073453/AWTFocusTransitionTest.java" Exception java.lang.RuntimeException: Test Failed! Incorrect focus owner: null, but expected: java.awt.TextField[textfield0,0,1,30...,text=,editable,selection=0-0]

              pbansal Pankaj Bansal (Inactive)
              pchopra Pooja Chopra (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: