-
Bug
-
Resolution: Fixed
-
P3
-
5.0, 6, 6u65, 7, 8
-
winvista-sp2-x64,jdk6u65b09(32bit)
-
b83
-
x86
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8142086 | emb-9 | Alexandr Scherbatiy | P3 | Resolved | Fixed | team |
Testsuite name: jck manual
JDK/JRE tested: jdk-6u65-windows-i586.exe (jdk6u65b09)
OS/architecture: winvista-sp2-x64
Reproducible: Always
Reproducible on machine: spb23157.ru
Is it a Regression: No
Test result on the last GAed release for this train: the same behaviour
[if Fail] Test result on FCS: the same behaviour on 1.6.0 FCS, 1.7.0
Test run log location:http://jsqalab.us.oracle.com/results/Evergreen/6u65/b09/jck/winvista-sp2-x64/results/workDir/api/javax_swing/interactive/JTextPaneTests.jtr
Test run result location:http://jsqalab.us.oracle.com/results/Evergreen/6u65/b09/jck/winvista-sp2-x64/results
Steps to reproduce:
1. Install test bundle jdk6u65b09 from http://jre.us.oracle.com/java/re/jdk/1.6.0_65/promoted/all/b09/bundles/windows-i586/jdk-6u65-windows-i586.exe to C:/ws
2. Download the JCK-runtime-6b.jar from http://jre.sfbay.sun.com/java/re/jck/6b/promoted/latest/bundles/ to C:/ws and use C:/ws/jdk1.6.0_65/bin/java.exe -jar JCK-runtime-6b.jar to unzip it
3. C:/ws/jdk1.6.0_65/bin/java.exe -showversion -cp C:/ws/JCK-runtime-6b/classes:C:/ws/jdk1.6.0_65/lib/tools.jar -Djava.security.policy=/workspace/jck/JCK-runtime-7/lib/jck.policy javasoft.sqe.tests.api.javax.swing.interactive.JTextPane.JTextPaneTests -exclude JTextPaneTest0004 -TestCaseID ALL
Descriptions(JTextPaneTest0005):
This test verifies the behavior of JTextPane setCharacterAttributes().Below find a checkbox and two buttons. Please verify that initially text typed in the textpane is bold. Also verify that when you highlight that text and click the Set button the highlighted text is underlined and bolded. Next check the checkbox and click the Set button and verify the text is underlined and NOT bolded.
Actual behavior:
1.According to the case description ,there is no problem with the case running.so we marked it pass on previous test results.
2.on sles11-sp1-x86(jdk7u45b11-32bit),highlight the text you typed,click the set button,the text is highlight.test results are expected.refer to JTextPaneTests01.jpg
3.But we found that highlight the text you typed on windwos platform,click the set button,the highlight of the text will be lost.but the checkbox and set button still work normally.test results are expected,too.refer to JTextPaneTests.jpg.
JDK/JRE tested: jdk-6u65-windows-i586.exe (jdk6u65b09)
OS/architecture: winvista-sp2-x64
Reproducible: Always
Reproducible on machine: spb23157.ru
Is it a Regression: No
Test result on the last GAed release for this train: the same behaviour
[if Fail] Test result on FCS: the same behaviour on 1.6.0 FCS, 1.7.0
Test run log location:http://jsqalab.us.oracle.com/results/Evergreen/6u65/b09/jck/winvista-sp2-x64/results/workDir/api/javax_swing/interactive/JTextPaneTests.jtr
Test run result location:http://jsqalab.us.oracle.com/results/Evergreen/6u65/b09/jck/winvista-sp2-x64/results
Steps to reproduce:
1. Install test bundle jdk6u65b09 from http://jre.us.oracle.com/java/re/jdk/1.6.0_65/promoted/all/b09/bundles/windows-i586/jdk-6u65-windows-i586.exe to C:/ws
2. Download the JCK-runtime-6b.jar from http://jre.sfbay.sun.com/java/re/jck/6b/promoted/latest/bundles/ to C:/ws and use C:/ws/jdk1.6.0_65/bin/java.exe -jar JCK-runtime-6b.jar to unzip it
3. C:/ws/jdk1.6.0_65/bin/java.exe -showversion -cp C:/ws/JCK-runtime-6b/classes:C:/ws/jdk1.6.0_65/lib/tools.jar -Djava.security.policy=/workspace/jck/JCK-runtime-7/lib/jck.policy javasoft.sqe.tests.api.javax.swing.interactive.JTextPane.JTextPaneTests -exclude JTextPaneTest0004 -TestCaseID ALL
Descriptions(JTextPaneTest0005):
This test verifies the behavior of JTextPane setCharacterAttributes().Below find a checkbox and two buttons. Please verify that initially text typed in the textpane is bold. Also verify that when you highlight that text and click the Set button the highlighted text is underlined and bolded. Next check the checkbox and click the Set button and verify the text is underlined and NOT bolded.
Actual behavior:
1.According to the case description ,there is no problem with the case running.so we marked it pass on previous test results.
2.on sles11-sp1-x86(jdk7u45b11-32bit),highlight the text you typed,click the set button,the text is highlight.test results are expected.refer to JTextPaneTests01.jpg
3.But we found that highlight the text you typed on windwos platform,click the set button,the highlight of the text will be lost.but the checkbox and set button still work normally.test results are expected,too.refer to JTextPaneTests.jpg.
- backported by
-
JDK-8142086 The behaviour of the highlight will be lost after clicking the set button
-
- Resolved
-