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

java/awt/Window/FindOwner: Focus is not gained upon mouse click

    XMLWordPrintable

Details

    • x86_64
    • windows_10

    Description

      ADDITIONAL SYSTEM INFORMATION :
      Microsoft Windows [Version 10.0.17134.165]

      JDK under test: C:\\Program Files\\Java\\jdk-10.0.2
      java version "10.0.2" 2018-07-17
      Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
      Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)

      A DESCRIPTION OF THE PROBLEM :
      The test java/awt/Window/FindOwner/FindOwnerTest.java fails on Windows with the message "Focus is not gained upon mouse click"
      The issue was also observed on MacOSX.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      >java -jar jtreg\lib\jtreg.jar -ignore:quiet -v -a -xml -testjdk:"C:\Program Files\Java\jdk-10.0.2" -javaoptions:"-Djava.awt.headless=false" test\java\awt\Window\FindOwner\FindOwnerTest.html

      ACTUAL -
      #section:applet
      ----------messages:(4/192)----------
      command: applet FindOwnerTest.html
      reason: User specified action: run applet FindOwnerTest.html
      Additional options from @modules: --add-modules java.desktop
      elapsed time (seconds): 1.545
      ----------System.out:(1/29)----------
      java.awt.Point[x=100,y=100]
      ----------System.err:(8/545)----------
      java.lang.RuntimeException: java.lang.Exception: Focus is not gained upon mouse click
      at FindOwnerTest.start(FindOwnerTest.java:104)
      at com.sun.javatest.regtest.agent.AppletWrapper$AppletRunnable.run(AppletWrapper.java:158)
      at java.base/java.lang.Thread.run(Thread.java:844)
      Caused by: java.lang.Exception: Focus is not gained upon mouse click
      at FindOwnerTest.start(FindOwnerTest.java:84)
      ... 2 more
      STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: java.lang.Exception: Focus is not gained upon mouse click

      ---------- BEGIN SOURCE ----------
      http://hg.openjdk.java.net/jdk10/jdk10/jdk/file/777356696811/test/java/awt/Window/FindOwner/FindOwnerTest.java
      ---------- END SOURCE ----------

      FREQUENCY : always


      Attachments

        Activity

          People

            pardesha Pardeep Sharma
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: