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

[TEST_BUG] The maximized unfocusable frame can be resized

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      os_x

      Description

      ADDITIONAL SYSTEM INFORMATION :
      Darwin unit 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

      A DESCRIPTION OF THE PROBLEM :
      The test java/awt/Frame/UnfocusableMaximizedFrameResizablity/UnfocusableMaximizedFrameResizablity.java fails on MacOSX HighSierra with the message "java.lang.RuntimeException: The maximized unfocusable frame can be resized."
      The issue was not observed on the previous MacOSX versions. It was observed neither on Windows nor on Linux.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      $ jtreg -ignore:quiet -v -a -xml -testjdk:"/Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home/" -javaoptions:"-Djava.awt.headless=false" test/java/awt/Frame/UnfocusableMaximizedFrameResizablity/UnfocusableMaximizedFrameResizablity.java

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

      ----------System.out:(8/456)----------
      Any messages for the tester will display here.
      Any messages for the tester will display here.
      Initial frame bounds: java.awt.Rectangle[x=0,y=23,width=300,height=300]
      Final frame bounds: java.awt.Rectangle[x=0,y=23,width=322,height=317]
      The test failed: The maximized unfocusable frame can be resized.
      The test failed: The maximized unfocusable frame can be resized.
      The test is over, hit Ctl-C to stop Java VM
      The test is over, hit Ctl-C to stop Java VM
      ----------System.err:(16/1185)----------
      WARNING: GL pipe is running in software mode (Renderer ID=0x1020400)
      java.lang.RuntimeException: The maximized unfocusable frame can be resized.
      at UnfocusableMaximizedFrameResizablity.fail(UnfocusableMaximizedFrameResizablity.java:216)
      at UnfocusableMaximizedFrameResizablity.init(UnfocusableMaximizedFrameResizablity.java:103)
      at UnfocusableMaximizedFrameResizablity.main(UnfocusableMaximizedFrameResizablity.java:142)
      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:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: The maximized unfocusable frame can be resized.
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: The maximized unfocusable frame can be resized

      ---------- BEGIN SOURCE ----------
      http://hg.openjdk.java.net/jdk9/dev/jdk/file/65464a307408/test/java/awt/Frame/UnfocusableMaximizedFrameResizablity/UnfocusableMaximizedFrameResizablity.java
      ---------- END SOURCE ----------

      FREQUENCY : always


        Attachments

          Activity

            People

            • Assignee:
              mhalder Manajit Halder (Inactive)
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: