JDK-8164308 : The bold font doesn't change when switch "Dialog" to "Serif"
Type:Bug
Component:client-libs
Sub-Component:2d
Affected Version:6u111,6u121,6u131
Priority:P2
Status:Closed
Resolution:Fixed
OS:solaris_11,solaris_12
CPU:generic
Submitted:2016-08-18
Updated:2016-10-12
Resolved:2016-09-07
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
In JTextField
If Font style is "Bold", the font doesn't change when we tried to switch "Dialog" to "Serif".
Please refer the attached images Dialog-bold.jpg and Serif-bold.jpg.
Comments
there is no such issue on Solaris 11.3 x64 with jdk6u131b12
20-09-2016
UR SQE OK to take tck-red bug fix to CPU16_04
08-09-2016
The same issue reproduced on solaris11.3-x64 with jdk6u131b10.
RULE "api/javax_swing/interactive/JTextFieldTests_JTextField" TestCase [JTextFieldTest0009] setFont() method does not work as expected. the bold font does not change when switch "Dialog" to "serif".Please refer to JDK-8164308.
RULE "api/javax_swing/interactive/JLabelTests_JLabel" TestCase [JLabelTest0025] setFont(Font) method does not work as expected. the bold font does not change when switch "Dialog" to "serif".Pplease refer to JDK-8164308.
RULE "api/javax_swing/interactive/JTextAreaTests_JTextArea" TestCase [JTextAreaTest0014] setFont() method does not work as expected. the bold font does not change when switch "Dialog" to "serif".Please refer to JDK-8164308..
02-09-2016
Was able to reproduce the issue using both JCK tests specified below on Oracle Solaris 11.3 x86 with JDK 6u131 b10 i586, JDK 6u121 b09 i586, JDK 6u115 b12 i586, JDK 6u111 b12 i586, JDK 6 b105 i586.:
- "javasoft.sqe.tests.api.javax.swing.interactive.JTextField.JTextFieldTests -TestCaseID JTextFieldTest0009"
- "javasoft.sqe.tests.api.javax.swing.interactive.JTextArea.JTextAreaTests -TestCaseID JTextAreaTest0014"
Could not reproduce the issue on 64-bit Oracle Solaris 10u10 with JDK 6u131 b10 amd64, JDK 6u121 b09 amd64. These results allow to conclude that the issue:
- is not a regression in JDK 6u121, is reproducible with JDK 6u111 and even with JDK 6 b105.
- is specific to Solaris 12, Solaris 11 OSes.
- is generic for processor architectures.
30-08-2016
Is it a Regression:Yes
This issues from solaris11.2-x64. others platform: win,linux passed.
Is it a platform specific issue:Yes
(The same build on win7-sp1-x64:Pass
The same build on oel7.1-uek-x64:Pass
The same build on solaris10-x64:Pass
The same build on solaris11.2-x64:Failed
The same build on solaris11.3-x64:Failed
The build is not support for mac)
We reran with jdk7u121b09,jdk8u112b09 and jdk9b132, there is no such issue.
25-08-2016
Does it affect 7u? 8u? 9?
18-08-2016
Since jck test fails increasing the priority to P2.
18-08-2016
RULE "api/javax_swing/interactive/JTextFieldTests_JTextField" TestCase [JTextFieldTest0009] setFont() method does not work as expected. The font name "Dialog" with style "Bold" is same as font name "Serif" with style "Bold".refer to INTJDK-7624593.
RULE "api/javax_swing/interactive/JTextAreaTests_JTextArea" TestCase [JTextAreaTest0014] setFont() method does not work as expected. The font name "Dialog" with style "Bold" is same as font name "Serif" with style "Bold".refer to INTJDK-7624593.