RFR: 8275165 : ProblemList InterpolationQualityTest.java

lawrence.andrews duke at openjdk.java.net
Thu Oct 14 17:58:02 UTC 2021


On Wed, 13 Oct 2021 18:10:43 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> InterpolationQualityTest.java test fails consistently on windows 10 hence adding it in the problemList.
>> 
>> @shurymury
>
> I remember this test was(and is) quite stable, did you check what is the reason of the failure. Is it possible it is caused by some of the @run main/othervm option(d3d/gdi)?

@mrserb - I run the test with all the options as well as one by one @ main/othervm options and only the following passes.
@run main/othervm -Dsun.java2d.uiScale=1 -Dsun.java2d.d3d=false InterpolationQualityTest 

All the other options fails. Only bilinear fails  but other two hint passes
-----------------------------------------------------------------------
nearest passed.
resImage.getRGB(13, 0) = java.awt.Color[r=207,g=207,b=207] != java.awt.Color[r=211,g=211,b=211]
bilinear failed.
bicubic passed.
----------System.err:(14/884)----------
java.lang.RuntimeException: Test FAILED.
        at InterpolationQualityTest.test(InterpolationQualityTest.java:158)
        at InterpolationQualityTest.main(InterpolationQualityTest.java:186)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:51)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:833)

---------------------------------------------------------------
Display resolution is set to 1920 * 1080

Test is tested on VM

-------------

PR: https://git.openjdk.java.net/jdk/pull/5930



More information about the client-libs-dev mailing list