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

sun/java2d/SunGraphics2D/DrawImageBilinear.java: Incorrect color for background

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 21
    • 20, 21
    • client-libs
    • None
    • 2d
    • x86_64
    • linux_ubuntu

      The test sun/java2d/SunGraphics2D/DrawImageBilinear.java fails on Ubuntu 20.04 22.04 with the following output:

      ====================8<--------------------
      #section:main
      ----------messages:(7/354)----------
      command: main -Dsun.java2d.uiScale=2.5 DrawImageBilinear
      reason: User specified action: run main/othervm -Dsun.java2d.uiScale=2.5 DrawImageBilinear
      started: Fri May 19 06:33:45 CEST 2023
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.desktop
      finished: Fri May 19 06:33:45 CEST 2023
      elapsed time (seconds): 0.308
      ----------configuration:(3/40)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(0/0)----------
      ----------System.err:(11/679)----------
      java.lang.RuntimeException: Failed: Incorrect color for background
      at DrawImageBilinear.main(DrawImageBilinear.java:171)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
      at java.base/java.lang.Thread.run(Thread.java:1583)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Failed: Incorrect color for background
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Failed: Incorrect color for background
      ====================8<--------------------

      The issue was observed with 21-ea+23-1988, 20.0.1+9-29

      Reproducibility: ~100%

      Steps to reproduce:

      $ jtreg -va -testjdk:$test_jdk test/jdk/sun/java2d/SunGraphics2D/DrawImageBilinear.java

            prr Philip Race
            vprovodin Vitaly Provodin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: