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

REGRESSION: Awt and swing components work intolerably slowly on OpenWindows

XMLWordPrintable

    • b45
    • x86, sparc
    • solaris_8, solaris_10
    • Verified



      Name: iaR10016 Date: 03/02/2004


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b40, JDK1.5.0-b39
                        (not reproducible using JDK1.4.2-b28, JDK1.5.0-b32c)
      Platform[s] : Solaris 8 sparc with OpenWindows, Solaris 8 x86 with OpenWindows

      Awt and swing components initialization time is too long in JDK1.5.0-b40 on Solaris (sparc, x86)
      with the OpenWindows window manager in contrast with previous JDK builds.

      Please, compile and execute the following test example using JDK1.5.0 and JDK1.4.2 to reproduce
      the failure:

      --------- owtest.java ---------
      import java.awt.*;

      public class owtest extends Frame {

          public owtest() {
            super("I am a Frame!");
            final Label ll1 = new Label("I am a Label!");
            add(ll1);
          }

          public static void main(String[] args) {
            Frame frame = new owtest();
            frame.setSize(new Dimension(400, 100));
            frame.setVisible(true);
           }
      }
      -------------------------------

      On my Solaris 8 (sparc) box tested frame appears and redraws its context after 3 seconds approximately with
      JDK1.4.2 and after 15 seconds approximately with JDK1.5.0-b40.

      Specific machine info:
      ======================
      Hostname: linux-1
      OS: Solaris 8 (sparc) (Open Windows)
      Hostname: linux-10
      OS: Solaris 8 (x86) (Open Windows)

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

            ant Anton Tarasov (Inactive)
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: