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

GridBagLayout's Hashtable not updated on comp remove (1.1.x ONLY)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.1.5, 1.1.6, 1.1.8_003
    • Fix Version/s: None
    • Component/s: client-libs
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description



      Name: dgC58589 Date: 01/28/98


      java.awt.GridBagLayout does not remove all knowledge of a component when the component is removed from the associated Container. The component is not removed for the GridBagLayout's Hashtable of constraints.

      This is major problem if you serialize/deserialize a GridBagLayout. If you remove a component from the container the GridBagLayout continues to have reference to the object so the serialization file continues to have a dependency on the component's class.
      (Review ID: 23958)
      ======================================================================

        Attachments

          Activity

            People

            • Assignee:
              rraysunw Richard Ray (Inactive)
              Reporter:
              dgrahamcsunw David Graham-cumming (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: