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

java/awt/Frame/ShownOffScreenOnWin98: The frame is located off screen

    XMLWordPrintable

Details

    • x86_64
    • linux_ubuntu

    Description

      ADDITIONAL SYSTEM INFORMATION :
      #section:script_messages
      ----------messages:(7/475)----------
      JDK under test: /usr/lib/jvm/java-11-oracle
      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/Frame/ShownOffScreenOnWin98/ShownOffScreenOnWin98Test.java always fails on KUbuntu (KDE). The issue was intermittently observed on Ubuntu Gnome in MultiMonitor configuration

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      $ jtreg -testjdk:/usr/lib/jvm/java-11-oracle java/awt/Frame/ShownOffScreenOnWin5~98/ShownOffScreenOnWin98Test.java

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

      ----------System.out:(5/278)----------
      The frame location: java.awt.Point[x=-8,y=1821]
      The screen bound: java.awt.Rectangle[x=0,y=0,width=3840,height=2160]
      The screen insets: java.awt.Insets[top=0,left=0,bottom=36,right=0]
      The test failed: The frame is located off screen
      The test is over, hit Ctl-C to stop Java VM
      ----------System.err:(15/1001)----------
      java.lang.RuntimeException: The frame is located off screen
              at ShownOffScreenOnWin98Test.fail(ShownOffScreenOnWin98Test.java:199)
              at ShownOffScreenOnWin98Test.init(ShownOffScreenOnWin98Test.java:89)
              at ShownOffScreenOnWin98Test.main(ShownOffScreenOnWin98Test.java:125)
              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: The frame is located off screen
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: The frame is located off screen

      ---------- BEGIN SOURCE ----------
      https://hg.openjdk.java.net/jdk/jdk11/file/1ddf9a99e4ad/test/jdk/java/awt/Frame/ShownOffScreenOnWin98
      ---------- END SOURCE ----------

      FREQUENCY : always


      Attachments

        Activity

          People

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: