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

Lanai: java/awt/GradientPaint/LinearColorSpaceGradientTest.java test fails

XMLWordPrintable

    • 2d
    • x86_64
    • os_x

      The test java/awt/GradientPaint/LinearColorSpaceGradientTest.java fails with the following output :

      #section:main
      ----------messages:(5/230)----------
      command: main LinearColorSpaceGradientTest
      reason: Assumed action based on file name: run main LinearColorSpaceGradientTest
      Mode: othervm
      Additional options from @modules: --add-modules java.desktop
      elapsed time (seconds): 0.502
      ----------configuration:(3/40)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(0/0)----------
      ----------System.err:(15/900)----------
      metalEnabled=1
      java.lang.RuntimeException: Test FAILED!
      at LinearColorSpaceGradientTest.test(LinearColorSpaceGradientTest.java:86)
      at LinearColorSpaceGradientTest.main(LinearColorSpaceGradientTest.java:111)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)

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

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


      The failure was not observed on OpenJDK build jdk-15-ea+8_osx-x64
      The test successfully passes with -Dsun.java2d.metal=false

      The reproducibility: 100%
      Steps to reproduce:

      $ jtreg -Dsun.java2d.metal=true -testjdk:[path_to_lanai_home] test/jdk/java/awt/GradientPaint/LinearColorSpaceGradientTest.java

            avu Alexey Ushakov
            vprovodin Vitaly Provodin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: