-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
1.4.1, 1.4.2
-
Fix Understood
-
x86, itanium
-
linux
Name: icR10030 Date: 06/17/2002
It seems that JEditorPane for Linux does not work as expected.
Both Solaris and Windows are OK.
The bug is reproducible in Merlin
Filed By : J2SE-SQA [###@###.###
JDK : jdk1.4.1-b14
JCK : JCK1.4
Platform[s] : RedHat Linux 7.2
switch/Mode : -client -Xmixed
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test : api/javax_swing/interactive/JEditorPaneTests.html#JEditorPane
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/javax_swing/interactive/JEditorPaneTests.java
jtr file location:
==================
How to reproduce:
=================
1. Run the following script (you may need to change value of JCK and JAVA_HOME vars)
2. The testcase creates JEditorPane(URL) where URL points to html-file which
contains some text and simple table.
3. The problem is that the cells #1 and #5 are not centered vertically in Linux.
In Solaris and Windows all cells are centered vertically.
#--------Script START---------------------
#!/bin/sh
JCK=/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14
export JCK
JAVA_HOME=/net/jdk/export/disk8/local.java/jdk1.4.1/linux-i586
export JAVA_HOME
CLASSPATH="${JCK}/classes:${JCK}/javatest.jar"
export CLASSPATH
$JAVA_HOME/bin/java -showversion -client -Xmixed -Xfuture -cp $JCK/classes -Djava.security.policy=$JCK/lib/jck.policy -Djava.security.auth.policy=$JCK/lib/java.auth.policy -Djava.security.auth.login.config=$JCK/lib/java.login.config javasoft.sqe.tests.api.javax.swing.interactive.JEditorPane.JEditorPaneTests -TestCaseID JEditorPaneTest0003 -TestDirURL file:/$JCK/tests/api/javax_swing/interactive/JEditorPaneTests.html#JEditorPane
#--------Script END----------------------
Test output:
============
JEditorPaneTest0003: Failed. JEditorPane created by JEditorPane(URL) constructor does not behave as expected.
STATUS:Failed.tests: 1; failed: 1; first test case failure: JEditorPaneTest0003
Specific Machine Info:
======================
Hostname: linux-13
Os: RedHat Linux 7.2
======================================================================