-
Bug
-
Resolution: Unresolved
-
P4
-
11, 12, 13, 14, 17, 21, 22
-
linux
We see java/awt/font/Rotate/RotatedTextTest.java failing on recent SuSE Linux OS installations:
It fails on SLES 12.2, 12.4 and SLES 15
It passes on SLES 11.3, 12.0 and RHEL 6.1.
The test is basically failing since it was introduced inJDK-8203485.
description=file\.../test/jdk/java/awt/font/Rotate/RotatedTextTest.java
elapsed=3029 0\:00\:03.029
end=Sun Feb 24 20\:43\:02 CET 2019
environment=regtest
execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.RuntimeException\: Test failed for angle 15.0
harnessLoaderMode=Classpath Loader
harnessVariety=Full Bundle
hostname=...
javatestOS=Linux 4.4.74-92.35-default (amd64)
javatestVersion=6.0-ea+b04-2018-12-07
jtregVersion=jtreg 4.2 dev b13
modules=java.desktop
script=com.sun.javatest.regtest.exec.RegressionScript
sections=script_messages build compile main
start=Sun Feb 24 20\:42\:59 CET 2019
test=java/awt/font/Rotate/RotatedTextTest.java
testJDK=...
totalTime=3029
user.name=jvmtests
work=.../JTwork/java/awt/font/Rotate
<snip>
command: main RotatedTextTest
reason: User specified action: run main RotatedTextTest
Mode: othervm
Additional options from @modules: --add-modules java.desktop
elapsed time (seconds): 1.232
----------configuration:(3/40)----------
Boot Layer
add modules: java.desktop
----------System.out:(2/50)----------
Angle: 0, width diff: 0
Angle: 15, width diff: -4
----------System.err:(14/885)----------
java.lang.RuntimeException: Test failed for angle 15.0
at RotatedTextTest.drawRotatedText(RotatedTextTest.java:87)
at RotatedTextTest.main(RotatedTextTest.java:98)
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:566)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:834)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed for angle 15.0
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed for angle 15.0
It fails on SLES 12.2, 12.4 and SLES 15
It passes on SLES 11.3, 12.0 and RHEL 6.1.
The test is basically failing since it was introduced in
description=file\.../test/jdk/java/awt/font/Rotate/RotatedTextTest.java
elapsed=3029 0\:00\:03.029
end=Sun Feb 24 20\:43\:02 CET 2019
environment=regtest
execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.RuntimeException\: Test failed for angle 15.0
harnessLoaderMode=Classpath Loader
harnessVariety=Full Bundle
hostname=...
javatestOS=Linux 4.4.74-92.35-default (amd64)
javatestVersion=6.0-ea+b04-2018-12-07
jtregVersion=jtreg 4.2 dev b13
modules=java.desktop
script=com.sun.javatest.regtest.exec.RegressionScript
sections=script_messages build compile main
start=Sun Feb 24 20\:42\:59 CET 2019
test=java/awt/font/Rotate/RotatedTextTest.java
testJDK=...
totalTime=3029
user.name=jvmtests
work=.../JTwork/java/awt/font/Rotate
<snip>
command: main RotatedTextTest
reason: User specified action: run main RotatedTextTest
Mode: othervm
Additional options from @modules: --add-modules java.desktop
elapsed time (seconds): 1.232
----------configuration:(3/40)----------
Boot Layer
add modules: java.desktop
----------System.out:(2/50)----------
Angle: 0, width diff: 0
Angle: 15, width diff: -4
----------System.err:(14/885)----------
java.lang.RuntimeException: Test failed for angle 15.0
at RotatedTextTest.drawRotatedText(RotatedTextTest.java:87)
at RotatedTextTest.main(RotatedTextTest.java:98)
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:566)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:834)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed for angle 15.0
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed for angle 15.0
- relates to
-
JDK-8203485 [freetype] text rotated on 180 degrees is too narrow
- Resolved
-
JDK-8266283 java/awt/Graphics2D/DrawString/DrawRotatedStringUsingRotatedFont.java fails with "Failed: wrong text location"
- Open
-
JDK-8316878 java/awt/Graphics2D/DrawString/RotTransText.java fails on SLES 15
- Open
- links to
-
Review openjdk/jdk/15780
There are no Sub-Tasks for this issue.