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

java/awt/Frame/MaximizedToIconified/MaximizedToIconified.java getExtendedState() != last getNewState() in WINDOW_STATE_CHANGED event.

XMLWordPrintable

    • x86_64
    • os_x

      The following test failed in the JDK24 CI:

      java/awt/Frame/MaximizedToIconified/MaximizedToIconified.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(7/279)----------
      command: main MaximizedToIconified
      reason: User specified action: run main MaximizedToIconified
      started: Fri Aug 02 23:52:46 GMT 2024
      Mode: othervm
      Additional options from @modules: --add-modules java.desktop
      finished: Fri Aug 02 23:52:50 GMT 2024
      elapsed time (seconds): 4.215
      ----------configuration:(3/40)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(9/331)----------
      last = 0; getOldState() = 0; getNewState() = 6
      state = 6; getExtendedState() = 6
      last = 6; getOldState() = 6; getNewState() = 0
      last = 0; getOldState() = 0; getNewState() = 1
      state = 1; getExtendedState() = 1
      last = 1; getOldState() = 1; getNewState() = 0
      state = 0; getExtendedState() = 0
      ------
      state = 1; getExtendedState() = 1
      ----------System.err:(14/981)----------
      java.lang.RuntimeException: getExtendedState() != last getNewState() in WINDOW_STATE_CHANGED event.
      at MaximizedToIconified.checkState(MaximizedToIconified.java:66)
      at MaximizedToIconified.examineStates(MaximizedToIconified.java:100)
      at MaximizedToIconified.doTest(MaximizedToIconified.java:120)
      at MaximizedToIconified.main(MaximizedToIconified.java:131)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:588)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: getExtendedState() != last getNewState() in WINDOW_STATE_CHANGED event.
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: getExtendedState() != last getNewState() in WINDOW_STATE_CHANGED event.
      ----------rerun:(45/6348)*----------

            achung Alisen Chung
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: