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

Number of Swing motif classes are loaded for awt only test case

XMLWordPrintable

    • x86
    • linux_redhat_9.0, solaris_9

      The following code:

      import java.awt.*;

      public class Test {
          public static void main(String[] args) {
              Frame f = new Frame("TEST");
              f.pack();
              System.exit(0);
          }
      }

      Triggers loading of a bunch of Swing's motif look and feel classes
      (-verbose output is attached).

      I'm aware of the dependancy of XAWT on Swing, but I'm not using any of
      the classes that should trigger loading of Swing.

            son Oleg Sukhodolsky (Inactive)
            svioletsunw Scott Violet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: