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

[macosx] application of a negative clip

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Duplicate
    • 7u40, 8
    • None
    • client-libs
    • OS X 10.8.4, 7u40b31, dual-screen setup, retina emulator on a primary device.

    • x86
    • os_x

    Description

      OS X 10.8.4, 7u40b31, dual-screen setup, retina emulator on a primary device.

      Run an old as hills regression test
      closed/java/awt/Rectangle/IntersectionTest/IntersectionTest.java
      on OS X. It intersects two non-intersecting rectangles and applies this intersection as a clip. The following getClipBounds() elsewhere returns the same rectangle with negative width and height. This rectangle (as I understand), first, is kept as a clip set; second, is ignored as such (no attempt to apply or repair)(am I right?). Why it is so, see in https://jbs.oracle.com/bugs/browse/JDK-4147957.
      Oh, I forgot to say, the test fails on Mac.

      The test does pass on my single-monitor Linux and on dual-monitor Windows.
      I don't know if retina (emulator) is essential for failure on primary screen.
      I don't know if dual-screen setup is essential.

      Attachments

        Issue Links

          Activity

            People

              serb Sergey Bylokhov
              yan Yuri Nesterenko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: