-
Bug
-
Resolution: Duplicate
-
P4
-
20, 21
-
None
-
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
====================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
- duplicates
-
JDK-8297175 [Linux] Bilinear interpolation shows difference in color
-
- Open
-