When "jtreg" regression test "test/jdk/java/awt/Color/AlphaColorTest.java" is run on VM with current desktop set to Unity, it passes but when is run on "ubuntu:GNOME" desktop (which is default in 18.04] it fails. The frame shown is white in colour ie red is 255 but the test expects frame's red color to be between 122-132.
java.lang.RuntimeException: Color is not as expected. Got java.awt.Color[r=255,g=255,b=255]
jib > at AlphaColorTest.main(AlphaColorTest.java:70)
jib > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jib > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
jib > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jib > at java.base/java.lang.reflect.Method.invoke(Method.java:567)
jib > at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)