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

[hidpi] java/awt/LightweightComponent/LightweightEventTest/LightweightEventTest.java reports extra "frame enter" events for the lightweight component

XMLWordPrintable

      JDK9 b121 + Win. 10 + HiDPI
      Can't reproducible the issue with -Dsun.java2d.uiScale option, only with HiDPI display

      Please change LightComponent's location:
        LightComponent.setLocation(400, 0);
      in order to avoid overlapping of the windows (see JDK-8144598).

      Then add some output to assertEvents() and run the test several times. Sometimes (rarely) it passes, but usually fails with frameEnters equals to 3 for the lightweight component.

            kizune Alexander Zuev
            avstepan Alexander Stepanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: