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

REGRESSION: Swing and awt components show text incorrectly on SLES

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86, itanium
    • OS:
      linux, linux_suse_sles_8

      Description



      Name: iaR10016 Date: 10/20/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b24, JDK1.5.0-b23, JDK1.5.0-b22
                        (not reproducible with JDK1.4.2-b28)
      JCK : JCK1.5-runtime (b06)
      Platform[s] : SuSE SLES 8
                        (not reproducible on any other Linux, Solaris, Windows systems I have)
      switch/Mode : default
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test[s]: api/java_awt/interactive/ComponentTests.html#ComponentTests[ComponentTest0006]
                        api/javax_swing/interactive/JTextFieldTests.html#JTextField
                        api/javax_swing/interactive/JLabelTests.html#JLabel
                        ...

      Please, run the following test example on SuSE SLES 8 and play with awt and swing components
      inside the tested frame:

      --------- test.java ---------
      import javax.swing.*;
      import java.awt.*;

      public class test extends JFrame {

         public test() {
           super();
           setLayout(new FlowLayout());
           getContentPane().add(new JTextField("I am a JTextField 1234567890"));
           getContentPane().add(new JButton("I am a JButton"));
           getContentPane().add(new JTextArea("I am a JTextArea 1234567890"));
           getContentPane().add(new TextField("I am a TextField 1234567890"));
           getContentPane().add(new Button("I am a Button"));
           getContentPane().add(new TextArea("I am a TextArea 1234567890"));
         }

         public static void main(String[] args) {
           JFrame frame = new test();
           frame.setSize(new Dimension(500,300));
           frame.setVisible(true);
          }
      }
      -----------------------------

      The following result is observed:

      - Text in JTextField, JButton, TextField, Button components is not arranged vertically as expected,
      it is located too high;

      - Space between the lines in JTextArea and TextArea components is unexpectedly large.

      This bug is not reproducible on the same machine using JDK1.4.2-b28.
      This bug is not reproducible on any other Linux, Solaris and Windows systems I have with JDK1.5.0, JDK1.4.2.

      This bug affects many of JCK1.5 runtime interactive tests.

      Test source location:
      =====================
      /java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/java_awt/interactive/...
      /java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/javax_swing/interactive/...

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b24/jck15/linux/Sles8_gnome_client_dsa_linux-4/workDir/api-interactive/javax_swing/interactive/JTextFieldTests_JTextField.jtr
      ...

      Specific machine info:
      ======================
      Hostname: linux-4
      OS: SuSE SLES 8

      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sherman Xueming Shen
              Reporter:
              irasunw Ira Ira (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: