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

Test java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails on MacOS X

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 7u40
    • client-libs
    • JDK 7u40
      Mac OS X

    • b01
    • generic
    • os_x

      Testsuite name: Regression
      Test name: java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java
      JDK tested: 7u40 b35
      OS tested: MacOS X 10.8 64 bit
      Test fails since 7u40 b01

      LOG:

      #section:main
      ----------messages:(3/127)----------
      command: main ShapeNotSetSometimes
      reason: User specified action: run main ShapeNotSetSometimes
      elapsed time (seconds): 1.637
      ----------System.out:(4/200)----------
      Attempt 0
      Checking java.awt.Frame with Rounded-corners shape (java.awt.geom.Path2D$Float@2b53d2f3)...
      checking 165, 196, color = java.awt.Color[r=0,g=12,b=254]
      window.getX() = 70, window.getY() = 450
      ----------System.err:(15/1024)----------
      Checking for transparency failed: point: 235, 646, color = java.awt.Color[r=0,g=12,b=254] is not of expected background color java.awt.Color[r=0,g=0,b=255]
      java.lang.RuntimeException: Test failed. The shape has not been applied.
      at ShapeNotSetSometimes.doTest(ShapeNotSetSometimes.java:166)
      at ShapeNotSetSometimes.main(ShapeNotSetSometimes.java:124)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:722)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed. The shape has not been applied.
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed. The shape has not been applied.
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test failed. The shape has not been applied.


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test failed. The shape has not been applied.

            serb Sergey Bylokhov
            kshefov Konstantin Shefov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: