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

[macOS15] java/awt/Frame/MaximizedToMaximized/MaximizedToMaximized.java: Maximized frame is smaller than non maximized

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • tbd
    • 21, 24
    • client-libs
    • macOS 15 GA

      testJDK_os.name=Mac OS X
      testJDK_os.version=15.0

    • generic
    • os_x

      java/awt/Frame/MaximizedToMaximized/MaximizedToMaximized.java fails on macOS 15 Sequoia with the following output:
      -----------------------------8<=============================
      #section:main
      ----------messages:(7/279)----------
      command: main MaximizedToMaximized
      reason: User specified action: run main MaximizedToMaximized
      started: Mon Sep 23 04:23:02 UTC 2024
      Mode: othervm
      Additional options from @modules: --add-modules java.desktop
      finished: Mon Sep 23 04:23:02 UTC 2024
      elapsed time (seconds): 0.558
      ----------configuration:(3/40)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(0/0)----------
      ----------System.err:(12/788)----------
      2024-09-23 04:23:02.725 java[949:8407] +[IMKClient subclass]: chose IMKClient_Legacy
      java.lang.RuntimeException: Maximized frame is smaller than non maximized
      at MaximizedToMaximized.main(MaximizedToMaximized.java:78)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:573)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1576)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Maximized frame is smaller than non maximized
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Maximized frame is smaller than non maximized
      -----------------------------8<=============================

      The failure was observed on x86-64, aarch64.
      The issue was reproducible on jdk21, jdk24

            honkar Harshitha Onkar
            vprovodin Vitaly Provodin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: