Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P4
-
Resolution: Cannot Reproduce
-
Affects Version/s: 11.0.8
-
Fix Version/s: 11.0.8
-
Component/s: client-libs
-
Labels:
-
Subcomponent:
-
CPU:generic
-
OS:linux
Description
On various Linux systems (for example linuxppc64/linuxppc64le but also others) we see errors in jdk11 after
JDK-8224109 added the test java/awt/font/Rotate/RotatedFontTest.java .
See https://hg.openjdk.java.net/jdk-updates/jdk11u/rev/eb8083c6981b
However reverting the change of src/java.desktop/share/native/libfontmanager/freetypeScaler.c that was introduced
by 8224109 together with the test does not make a difference, the error occurs with and without the freetypeScaler.c change .
Example error message (stderr):
java.lang.RuntimeException: images differ, diffCnt=62
at RotatedFontTest.compareImages(RotatedFontTest.java:224)
at RotatedFontTest.test(RotatedFontTest.java:128)
at RotatedFontTest.main(RotatedFontTest.java:115)
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)
See https://hg.openjdk.java.net/jdk-updates/jdk11u/rev/eb8083c6981b
However reverting the change of src/java.desktop/share/native/libfontmanager/freetypeScaler.c that was introduced
by 8224109 together with the test does not make a difference, the error occurs with and without the freetypeScaler.c change .
Example error message (stderr):
java.lang.RuntimeException: images differ, diffCnt=62
at RotatedFontTest.compareImages(RotatedFontTest.java:224)
at RotatedFontTest.test(RotatedFontTest.java:128)
at RotatedFontTest.main(RotatedFontTest.java:115)
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)