-
Bug
-
Resolution: Fixed
-
P3
-
internal
-
x86_64
-
os_x
The test java/awt/Graphics2D/DrawString/TextRenderingTest.java fails with the following output :
#section:main
----------messages:(5/196)----------
command: main TextRenderingTest
reason: User specified action: run main TextRenderingTest
Mode: othervm
Additional options from @modules: --add-modules java.desktop
elapsed time (seconds): 1.882
----------configuration:(3/40)----------
Boot Layer
add modules: java.desktop
----------System.out:(2/56)----------
Metal: Supported, feature set macOS GPUFamily2 v1
----------System.err:(15/908)----------
metalEnabled=1
Metal support is present
java.lang.RuntimeException: test failed: can see the text rendered!
at TextRenderingTest.main(TextRenderingTest.java:105)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:832)
JavaTest Message: Test threw exception: java.lang.RuntimeException: test failed: can see the text rendered!
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: test failed: can see the text rendered!
The failure was not observed on OpenJDK builds jdk-15-ea+17_osx-x64
The reproducibility: 100%
Steps to reproduce:
$ jtreg -Dsun.java2d.metal=true -testjdk:[path_to_lanai_home] test/jdk/java/awt/Graphics2D/DrawString/TextRenderingTest.java
The test successfully passes with -Dsun.java2d.metal=false
#section:main
----------messages:(5/196)----------
command: main TextRenderingTest
reason: User specified action: run main TextRenderingTest
Mode: othervm
Additional options from @modules: --add-modules java.desktop
elapsed time (seconds): 1.882
----------configuration:(3/40)----------
Boot Layer
add modules: java.desktop
----------System.out:(2/56)----------
Metal: Supported, feature set macOS GPUFamily2 v1
----------System.err:(15/908)----------
metalEnabled=1
Metal support is present
java.lang.RuntimeException: test failed: can see the text rendered!
at TextRenderingTest.main(TextRenderingTest.java:105)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:832)
JavaTest Message: Test threw exception: java.lang.RuntimeException: test failed: can see the text rendered!
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: test failed: can see the text rendered!
The failure was not observed on OpenJDK builds jdk-15-ea+17_osx-x64
The reproducibility: 100%
Steps to reproduce:
$ jtreg -Dsun.java2d.metal=true -testjdk:[path_to_lanai_home] test/jdk/java/awt/Graphics2D/DrawString/TextRenderingTest.java
The test successfully passes with -Dsun.java2d.metal=false
- duplicates
-
JDK-8251476 java/awt/Graphics2D/DrawString/TextRenderingTest.java fails in metal pipeline
- Closed
-
JDK-8243547 Lanai - Netbeans IDE has BLACK background for the Toolbar and Statusbar
- Resolved