Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8244518

java/awt/font/Rotate/RotatedFontTest.java error after JDK-8224109

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 11.0.8
    • 11.0.8
    • client-libs
    • 2d
    • generic
    • linux

      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)

            prr Philip Race
            mbaesken Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: