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

reg test/java/awt/font/StyledMetrics/StyledMetrics.java failed on Sol.9 & IA 9

XMLWordPrintable

    • 2d
    • b10
    • generic
    • solaris_9
    • Verified

      Regression test/java/awt/font/StyledMetrics/StyledMetrics.java
      failed on Sol.9 & IA 9,
      same test passsed on Sol.10, WinXP, and RH AS 3

      JDK tested: /net/jano/export/disk12/i18n/NightlyBuilds/archives/2004-09-30-int.mustang
      also failed in Tiger b64

      Exceptions thrown:
      ==============================================================================
      ----------System.out:(2/109)----------
      Skipping family called MS Gothic
      java.awt.Font[family=HG-MinchoL-Sun,name=HG-MinchoL-Sun,style=bold,size=12]
      ----------System.err:(14/1174)----------
      java.lang.Exception: Differing advances for java.awt.Font[family=HG-MinchoL-Sun,name=HG-MinchoL-Sun,style=bold,size=12] this ch=12441 read ch=12443 this adv=12.65625 read adv=12.65625
      at StyledMetrics.testFont(StyledMetrics.java:159)
      at StyledMetrics.main(StyledMetrics.java:26)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:595)

      JavaTest Message: Test threw exception: java.lang.Exception: Differing advances for java.awt.Font[family=HG-MinchoL-Sun,name=HG-MinchoL-Sun,style=bold,size=12] this ch=12441 read ch=12443 this adv=12.65625 read adv=12.65625
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Exception: Differing advances for java.awt.Font[family=HG-MinchoL-Sun,name=HG-MinchoL-Sun,style=bold,size=12] this ch=12441 read ch=12443 this adv=12.65625 read adv=12.65625
      result: Failed. Execution failed: `main' threw exception: java.lang.Exception: Differing advances for java.awt.Font[family=HG-MinchoL-Sun,name=HG-MinchoL-Sun,style=bold,size=12] this ch=12441 read ch=12443 this adv=12.65625 read adv=12.65625

      ###@###.### 2004-10-01

            prr Philip Race
            mtiensunw Minchi Tien (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: