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

ShapedAndTranslucentWindow tests fail in OEL 7 only

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      linux

      Description

      Test name(s): java/awt/Window/ShapedAndTranslucentWindows/Shaped.java
      java/awt/Window/ShapedAndTranslucentWindows/ShapedByAPI.java
      java/awt/Window/ShapedAndTranslucentWindows/StaticallyShaped.java

      JDK tested: 9b64
      OS tested: OEL 7, OEL 6.4
      Is it a regression? NO
      Is it platform specific? Yes (fails on OEL 7)
      The is failure reproduced: always
           
      General description:

      ----------System.out:(4/212)----------
      OK with background point java.awt.Point[x=282,y=282]
      OK with background point java.awt.Point[x=372,y=372]
      OK with background point java.awt.Point[x=282,y=372]
      OK with background point java.awt.Point[x=372,y=282]
      ----------System.err:(16/1072)----------
      java.lang.RuntimeException: Foreground point java.awt.Point[x=245,y=245] equals to background color java.awt.Color[r=0,g=0,b=255]
      at Common.checkShape(Common.java:271)
      at Common.checkDynamicShape(Common.java:253)
      at Shaped.doTest(Shaped.java:70)
      at Shaped.main(Shaped.java:55)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:502)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:745)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Foreground point java.awt.Point[x=245,y=245] equals to background color java.awt.Color[r=0,g=0,b=255]
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Foreground point java.awt.Point[x=245,y=245] equals to background color java.awt.Color[r=0,g=0,b=255]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ssadetsky Semyon Sadetsky (Inactive)
                Reporter:
                pchopra Pooja Chopra (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: