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

Test java/awt/FontMetrics/MaxAdvanceIsMax.java failing on many Linux systems

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 11, 13, 14
    • Fix Version/s: tbd
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
      2d
    • OS:
      linux

      Description

      In SAP's test environment we see the test java/awt/FontMetrics/MaxAdvanceIsMax.java failing on at least 5 different Linux systems. Those include both, Suse and RedHat versions with different releases.

      The error output observed is
      java.lang.Exception: FAILED: getMaxAdvance is not max for font: java.awt.Font[family=L M Math Italic5,name=L M Math Italic5 Bold,style=bolditalic,size=10] getMaxAdvance(): 14 getWidths()[77]: 15
      at MaxAdvanceIsMax.main(MaxAdvanceIsMax.java:129)

      or

      java.lang.Exception: FAILED: getMaxAdvance is not max for font: java.awt.Font[family=Computer Modern Bright,name=Computer Modern Bright Bold Extended,style=bolditalic,size=10] getMaxAdvance(): 9 getWidths()[87]: 10
      at MaxAdvanceIsMax.main(MaxAdvanceIsMax.java:129)

      or

      java.lang.Exception: FAILED: getMaxAdvance is not max for font: java.awt.Font[family=DialogInput,name=DialogInput.bold,style=bolditalic,size=10] getMaxAdvance(): 6 getWidths()[127]: 10
      at MaxAdvanceIsMax.main(MaxAdvanceIsMax.java:129)

      or

      java.lang.Exception: FAILED: getMaxAdvance is not max for font: java.awt.Font[family=DialogInput,name=DialogInput.bold,style=bolditalic,size=10] getMaxAdvance(): 7 getWidths()[3]: 8
      at MaxAdvanceIsMax.main(MaxAdvanceIsMax.java:129)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              clanger Christoph Langer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: