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

java/awt/Dialog/DialogAboveFrame: Dialog is behind the frame

XMLWordPrintable

    • x86_64
    • os_x

      ADDITIONAL SYSTEM INFORMATION :
      $ uname -a
      Darwin unit-929.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64

      java version "11.0.1" 2018-10-16 LTS
      Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
      Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)


      A DESCRIPTION OF THE PROBLEM :
      The test java/awt/Dialog/DialogAboveFrame/DialogAboveFrameTest.java fails on MacOSX 10.14 with the message: "Test FAILED: Dialog is behind the frame"
      The issue was also observed on Windows10, Kubuntu (KDE)

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      $ jtreg -ignore:quiet -v -a -xml -testjdk:/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home java/awt/Dialog/DialogAboveFrame/DialogAboveFrameTest.java

      ACTUAL -
      #section:main
      ----------messages:(5/202)----------
      command: main DialogAboveFrameTest
      reason: User specified action: run main DialogAboveFrameTest
      Mode: othervm
      Additional options from @modules: --add-modules java.desktop
      elapsed time (seconds): 2.244
      ----------configuration:(3/40)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(0/0)----------
      ----------System.err:(13/873)----------
      java.lang.RuntimeException: Test FAILED: Dialog is behind the frame
      at DialogAboveFrameTest.main(DialogAboveFrameTest.java:73)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:834)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test FAILED: Dialog is behind the frame
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test FAILED: Dialog is behind the frame

      ---------- BEGIN SOURCE ----------
      http://hg.openjdk.java.net/jdk/jdk11/file/17b7d7034e8e/test/jdk/java/awt/Dialog/DialogAboveFrame/DialogAboveFrameTest.java
      ---------- END SOURCE ----------

      FREQUENCY : always


            mhalder Manajit Halder (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: