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

java/awt/hidpi/ClientAreaOriginWindowsTest.java: no outline pixel by X-axis; no outline pixel by Y-axis

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P4 P4
    • tbd
    • 17, 20, 21
    • client-libs
    • generic
    • windows

      The test java/awt/hidpi/ClientAreaOriginWindowsTest.java fails on Windows10, Windows11 x86-64 and Windows11 aarch64 as follows:

      #section:main
      ----------messages:(7/495)----------
      command: main -Dsun.java2d.uiScale.enabled=true -Dsun.java2d.uiScale=1.25 -Dsun.java2d.d3d=false ClientAreaOriginWindowsTest
      reason: User specified action: run main/othervm -Dsun.java2d.uiScale.enabled=true -Dsun.java2d.uiScale=1.25 -Dsun.java2d.d3d=false ClientAreaOriginWindowsTest
      started: Wed Mar 01 14:09:39 PST 2023
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.desktop
      finished: Wed Mar 01 14:09:40 PST 2023
      elapsed time (seconds): 0.778
      ----------configuration:(3/43)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(0/0)----------
      ----------System.err:(18/1579)----------
      java.lang.RuntimeException: Test FAILED: no outline pixel by X-axis; no outline pixel by Y-axis
              at ClientAreaOriginWindowsTest.lambda$main$2(ClientAreaOriginWindowsTest.java:124)
              at java.desktop/javax.swing.Timer.fireActionPerformed(Timer.java:311)
              at java.desktop/javax.swing.Timer$DoPostEvent.run(Timer.java:243)
              at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
              at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:788)
              at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
              at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:731)
              at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
              at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
              at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:758)
              at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
              at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
              at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
              at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
              at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
              at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test FAILED: no outline pixel by X-axis; no outline pixel by Y-axis

      For details see the attached jtr-file
      It is reproducible with 21-ea+2-59, 17.0.2+8-86

      Reproducibility: 100%
      Steps to reproduce:
      jtreg -v -testjdk:$JAVA_HOME test/jdk/java/awt/hidpi/ClientAreaOriginWindowsTest.java

            vprovodin Vitaly Provodin
            vprovodin Vitaly Provodin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: