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

ComponentOrientation causes unnecessary class loads

XMLWordPrintable

    • beta
    • generic
    • generic



      Name: nl37777 Date: 02/23/2001


      When running steve.wilson@eng's SheetMetal application, several locale
      data classes are loaded even though the application does not use any
      functionality that relies on such functionality. The reason is that in
      1.4 JComponent now sets its locale and component orientation during
      intialization, and ComponentOrientation loads LocaleData,
      LocaleElements, and their friends to obtain the component orientation.
      The classes loaded are about 24K on disk. The classes are not loaded
      when running the application on 1.3.

      The problem should be reproducible with any Swing application.
      ======================================================================

            bcbeck Brian Beck (Inactive)
            nlindenbsunw Norbert Lindenberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: