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

Test java/awt/Paint/PaintNativeOnUpdate.java fails on Mac and Linux

XMLWordPrintable

      Testsuite name: Regression
      Test name(s): java/awt/Paint/PaintNativeOnUpdate.java
      JDK tested: JDK 9 b09
      OS tested: Oracle Linux 6.4 64-bit, Mac
      Is it a regression? NO
      Is it platform specific? NO
      The is failure reproduced: always
       
      General description:
      Test java/awt/Paint/PaintNativeOnUpdate.java fails with the following exception on Mac and Linux
      Expected color = java.awt.Color[r=0,g=255,b=0]
      Actual color = java.awt.Color[r=0,g=254,b=33]
      java.lang.RuntimeException
      at PaintNativeOnUpdate.main(PaintNativeOnUpdate.java:68)
      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:484)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:744)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException

            serb Sergey Bylokhov
            rnairsunw Raghu Nair
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: