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

The "layoutInfo" variable in GridBagLayout should be transient

XMLWordPrintable

    • x86, sparc
    • solaris_2.5.1, windows_nt

      Name: sgC58550 Date: 03/27/97


      The "layoutInfo" variable in GridBagLayout should be
      marked as transient. The information stored here is
      calculated each time a layout is performed, so there
      should be no need to store this information in the
      serialization file.

      The GridBagLayoutInfo class has some big arrays in it,
      so marking the "layoutInfo" variable as transient will
      save a LOT of space in the serialization file.

      This means the GridBagLayoutInfo class probably does not
      need to implement the Serializable interface anymore.

      company - Active Software , email - ###@###.###
      ======================================================================

            dav Andrei Dmitriev (Inactive)
            sgoodsunw Sheri Good (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: