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

java/awt/FullScreen/FullscreenWindowProps/FullscreenWindowProps.java fails on Windows 10 with HiDPI screen

XMLWordPrintable

    • b25
    • generic
    • windows_10

        Test java/awt/FullScreen/FullscreenWindowProps/FullscreenWindowProps.java fails on JDK 19.
        Failure is observed on Windows 10 laptop with HiDPI screen (resolution 2160x1350, scale 150%).

        Here's a snippet from the log file:

        #section:main
        ----------messages:(5/222)----------
        command: main FullscreenWindowProps
        reason: Assumed action based on file name: run main FullscreenWindowProps
        Mode: othervm
        Additional options from @modules: --add-modules java.desktop
        elapsed time (seconds): 20.002
        ----------configuration:(3/43)----------
        Boot Layer
          add modules: java.desktop

        ----------System.out:(0/0)----------
        ----------System.err:(14/722)----------
        Expected: 1024
        Actual: 683
        java.lang.RuntimeException: width is wrong
        at FullscreenWindowProps.checkSize(FullscreenWindowProps.java:100)
        at FullscreenWindowProps.main(FullscreenWindowProps.java:86)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:577)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
        at java.base/java.lang.Thread.run(Thread.java:828)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: width is wrong
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: width is wrong
        ----------rerun:(28/2877)*----------

              alexsch Alexandr Scherbatiy
              alexsch Alexandr Scherbatiy
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: