-
Bug
-
Resolution: Unresolved
-
P4
-
7, 9, 10
-
x86
-
windows_xp, windows_10
The regression testcase java/awt/font/StyledMetrics/StyledMetrics.java fails on Windows Xp on Jdk7 b60 pit build with the following output: (Also failed on jdk7 b59 build)
java.lang.Exception: Differing widths for monospaced font (AA=false, FM=false) java.awt.Font[family=Lucida Console,name=Lucida Console,style=bold,size=12] width of 'c'=8.0 width of ' '=9
at StyledMetrics.testMonospacedFont(StyledMetrics.java:93)
at StyledMetrics.main(StyledMetrics.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:623)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:717)
JavaTest Message: Test threw exception: java.lang.Exception: Differing widths for monospaced font (AA=false, FM=false) java.awt.Font[family=Lucida Console,name=Lucida Console,style=bold,size=12] width of 'c'=8.0 width of ' '=9
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.Exception: Differing widths for monospaced font (AA=false, FM=false) java.awt.Font[family=Lucida Console,name=Lucida Console,style=bold,size=12] width of 'c'=8.0 width of ' '=9
result: Failed. Execution failed: `main' threw exception: java.lang.Exception: Differing widths for monospaced font (AA=false, FM=false) java.awt.Font[family=Lucida Console,name=Lucida Console,style=bold,size=12] width of 'c'=8.0 width of ' '=9
Attached is the .jtr file.
java.lang.Exception: Differing widths for monospaced font (AA=false, FM=false) java.awt.Font[family=Lucida Console,name=Lucida Console,style=bold,size=12] width of 'c'=8.0 width of ' '=9
at StyledMetrics.testMonospacedFont(StyledMetrics.java:93)
at StyledMetrics.main(StyledMetrics.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:623)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:717)
JavaTest Message: Test threw exception: java.lang.Exception: Differing widths for monospaced font (AA=false, FM=false) java.awt.Font[family=Lucida Console,name=Lucida Console,style=bold,size=12] width of 'c'=8.0 width of ' '=9
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.Exception: Differing widths for monospaced font (AA=false, FM=false) java.awt.Font[family=Lucida Console,name=Lucida Console,style=bold,size=12] width of 'c'=8.0 width of ' '=9
result: Failed. Execution failed: `main' threw exception: java.lang.Exception: Differing widths for monospaced font (AA=false, FM=false) java.awt.Font[family=Lucida Console,name=Lucida Console,style=bold,size=12] width of 'c'=8.0 width of ' '=9
Attached is the .jtr file.