-
Bug
-
Resolution: Unresolved
-
P4
-
8
-
windows
The java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails on Windows in Java 8.
The test log:
----------messages:(4/220)----------
command: main -Dsun.java2d.uiScale=1 ShapeNotSetSometimes
reason: User specified action: run main/othervm -Dsun.java2d.uiScale=1 ShapeNotSetSometimes
Mode: othervm [/othervm specified]
elapsed time (seconds): 7.912
----------configuration:(0/0)----------
----------System.out:(35/3087)----------
Attempt 1
Checking 150, 130, java.awt.Color[r=255,g=255,b=255] should be java.awt.Color[r=255,g=255,b=255]
Checking 150, 20, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 280, 120, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 150, 250, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 20, 120, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 62, 62, java.awt.Color[r=0,g=255,b=0] should not be java.awt.Color[r=255,g=255,b=255]
Checking 240, 185, java.awt.Color[r=0,g=255,b=0] should not be java.awt.Color[r=255,g=255,b=255]
Attempt 2
Checking 150, 130, java.awt.Color[r=255,g=255,b=255] should be java.awt.Color[r=255,g=255,b=255]
Checking 150, 20, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 280, 120, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 150, 250, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 20, 120, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 62, 62, java.awt.Color[r=0,g=255,b=0] should not be java.awt.Color[r=255,g=255,b=255]
Checking 240, 185, java.awt.Color[r=0,g=255,b=0] should not be java.awt.Color[r=255,g=255,b=255]
Attempt 3
Checking 150, 130, java.awt.Color[r=255,g=255,b=255] should be java.awt.Color[r=255,g=255,b=255]
Checking 150, 20, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 280, 120, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 150, 250, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 20, 120, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 62, 62, java.awt.Color[r=0,g=255,b=0] should not be java.awt.Color[r=255,g=255,b=255]
Checking 240, 185, java.awt.Color[r=0,g=255,b=0] should not be java.awt.Color[r=255,g=255,b=255]
Attempt 4
Checking 150, 130, java.awt.Color[r=255,g=255,b=255] should be java.awt.Color[r=255,g=255,b=255]
Checking 150, 20, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 280, 120, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 150, 250, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 20, 120, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 62, 62, java.awt.Color[r=0,g=255,b=0] should not be java.awt.Color[r=255,g=255,b=255]
Checking 240, 185, java.awt.Color[r=0,g=255,b=0] should not be java.awt.Color[r=255,g=255,b=255]
Attempt 5
Checking 150, 130, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=255,g=255,b=255]
window.getX() = 810, window.getY() = 370
----------System.err:(19/1182)----------
Checking for transparency failed: point: 960, 500
actual java.awt.Color[r=0,g=255,b=0]
expected java.awt.Color[r=255,g=255,b=255]
java.lang.RuntimeException: Test failed. The shape has not been applied.
at ShapeNotSetSometimes.colorCheck(ShapeNotSetSometimes.java:200)
at ShapeNotSetSometimes.doTest(ShapeNotSetSometimes.java:151)
at ShapeNotSetSometimes.main(ShapeNotSetSometimes.java:138)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.lang.Thread.run(Thread.java:750)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed. The shape has not been applied.
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed. The shape has not been applied.
Sometimes, the log is even shorter:
----------System.out:(3/155)----------
Attempt 1
Checking 150, 130, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=255,g=255,b=255]
window.getX() = 810, window.getY() = 366
----------System.err:(19/1182)----------
Checking for transparency failed: point: 960, 496
actual java.awt.Color[r=0,g=255,b=0]
expected java.awt.Color[r=255,g=255,b=255]
java.lang.RuntimeException: Test failed. The shape has not been applied.
at ShapeNotSetSometimes.colorCheck(ShapeNotSetSometimes.java:200)
at ShapeNotSetSometimes.doTest(ShapeNotSetSometimes.java:151)
at ShapeNotSetSometimes.main(ShapeNotSetSometimes.java:138)
The test log:
----------messages:(4/220)----------
command: main -Dsun.java2d.uiScale=1 ShapeNotSetSometimes
reason: User specified action: run main/othervm -Dsun.java2d.uiScale=1 ShapeNotSetSometimes
Mode: othervm [/othervm specified]
elapsed time (seconds): 7.912
----------configuration:(0/0)----------
----------System.out:(35/3087)----------
Attempt 1
Checking 150, 130, java.awt.Color[r=255,g=255,b=255] should be java.awt.Color[r=255,g=255,b=255]
Checking 150, 20, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 280, 120, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 150, 250, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 20, 120, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 62, 62, java.awt.Color[r=0,g=255,b=0] should not be java.awt.Color[r=255,g=255,b=255]
Checking 240, 185, java.awt.Color[r=0,g=255,b=0] should not be java.awt.Color[r=255,g=255,b=255]
Attempt 2
Checking 150, 130, java.awt.Color[r=255,g=255,b=255] should be java.awt.Color[r=255,g=255,b=255]
Checking 150, 20, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 280, 120, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 150, 250, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 20, 120, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 62, 62, java.awt.Color[r=0,g=255,b=0] should not be java.awt.Color[r=255,g=255,b=255]
Checking 240, 185, java.awt.Color[r=0,g=255,b=0] should not be java.awt.Color[r=255,g=255,b=255]
Attempt 3
Checking 150, 130, java.awt.Color[r=255,g=255,b=255] should be java.awt.Color[r=255,g=255,b=255]
Checking 150, 20, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 280, 120, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 150, 250, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 20, 120, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 62, 62, java.awt.Color[r=0,g=255,b=0] should not be java.awt.Color[r=255,g=255,b=255]
Checking 240, 185, java.awt.Color[r=0,g=255,b=0] should not be java.awt.Color[r=255,g=255,b=255]
Attempt 4
Checking 150, 130, java.awt.Color[r=255,g=255,b=255] should be java.awt.Color[r=255,g=255,b=255]
Checking 150, 20, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 280, 120, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 150, 250, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 20, 120, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=0,g=255,b=0]
Checking 62, 62, java.awt.Color[r=0,g=255,b=0] should not be java.awt.Color[r=255,g=255,b=255]
Checking 240, 185, java.awt.Color[r=0,g=255,b=0] should not be java.awt.Color[r=255,g=255,b=255]
Attempt 5
Checking 150, 130, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=255,g=255,b=255]
window.getX() = 810, window.getY() = 370
----------System.err:(19/1182)----------
Checking for transparency failed: point: 960, 500
actual java.awt.Color[r=0,g=255,b=0]
expected java.awt.Color[r=255,g=255,b=255]
java.lang.RuntimeException: Test failed. The shape has not been applied.
at ShapeNotSetSometimes.colorCheck(ShapeNotSetSometimes.java:200)
at ShapeNotSetSometimes.doTest(ShapeNotSetSometimes.java:151)
at ShapeNotSetSometimes.main(ShapeNotSetSometimes.java:138)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.lang.Thread.run(Thread.java:750)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed. The shape has not been applied.
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed. The shape has not been applied.
Sometimes, the log is even shorter:
----------System.out:(3/155)----------
Attempt 1
Checking 150, 130, java.awt.Color[r=0,g=255,b=0] should be java.awt.Color[r=255,g=255,b=255]
window.getX() = 810, window.getY() = 366
----------System.err:(19/1182)----------
Checking for transparency failed: point: 960, 496
actual java.awt.Color[r=0,g=255,b=0]
expected java.awt.Color[r=255,g=255,b=255]
java.lang.RuntimeException: Test failed. The shape has not been applied.
at ShapeNotSetSometimes.colorCheck(ShapeNotSetSometimes.java:200)
at ShapeNotSetSometimes.doTest(ShapeNotSetSometimes.java:151)
at ShapeNotSetSometimes.main(ShapeNotSetSometimes.java:138)
- relates to
-
JDK-8339963 Remove -Dsun.java2d.uiScale=1 from tests in 8u
- Open
-
JDK-8341367 Problemlist ShapeNotSetSometimes.java on macOS
- Resolved
-
JDK-8341370 Test java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails intermittently on macOS-aarch64
- Open
-
JDK-8324238 [macOS] java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails with the shape has not been applied msg
- Resolved