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

java/awt/font/StyledMetrics/StyledMetrics.java fails on Vista

XMLWordPrintable

    • 2d
    • b86
    • x86
    • windows_vista
    • Verified

        JDK : Fails: Mustang b80
        Platform[s] : Fails On: Windows Vista (32-bit) build 5342
        Failing Test [s] : java/awt/font/StyledMetrics/StyledMetrics.java

            Test source location:
            =====================
        /net/cady/export/jdk1.6.0/promoted/all/b80/ws/j2se/test/java/awt/font/StyledMetrics/StyledMetrics.java

            jtr file location:
            ==================
        /net/cady/export6/results/mustang/b80/reg/regression-reg-winVista-32-2006-03-22-14-04-21-0472/workDir/java/awt/font/StyledMetrics/StyledMetrics.jtr

            How to reproduce:
            ====================
            - Set JAVA_HOME to Mustang b80 windows-i586
            - cd /net/cady/export/jdk1.6.0/promoted/all/b80/ws/j2se/test/java/awt/font/StyledMetrics
            - /net/koori.sfbay/onestop/jct-tools/2.1.6/archive/fcs/binaries/win32/bin/jtreg -r:/tmp -w:/tmp ./StyledMetrics.java

            Test output:
            ============
        ----------System.out:(1/14)----------
        Extra char:0
        ----------System.err:(15/1362)----------
        java.lang.Exception: Differing advances for java.awt.Font[family=MS Gothic,name=MS Gothic,style=bold,size=7] this ch=9 read ch=9 this adv=0.3828125 read adv=7.3828125 AA=Nonantialiased text mode FM=Integer text metrics mode
                at StyledMetrics.doTestFont(StyledMetrics.java:217)
                at StyledMetrics.testFont(StyledMetrics.java:151)
                at StyledMetrics.main(StyledMetrics.java:24)
                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:589)
                at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
                at java.lang.Thread.run(Thread.java:618)

              prr Philip Race
              jaleesunw James Lee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: