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

Redundant warning about serialization compatibility

    Details

      Description



      Name: gm110360 Date: 06/11/2004


      A DESCRIPTION OF THE PROBLEM :
      The documentation of following classes:

      javax.swing.plaf.basic.BasicCheckBoxUI
      javax.swing.plaf.basic.BasicComboBoxEditor.UIResource
      javax.swing.plaf.basic.BasicEditorPaneUI
      javax.swing.plaf.basic.BasicTextAreaUI
      javax.swing.plaf.basic.BasicTextFieldUI
      javax.swing.plaf.basic.BasicTextPaneUI
      javax.swing.plaf.basic.BasicTextUI

      contains a serialization warning. Although none of these classes are serializable.


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Expected no warning about serialization because none of the classes is serializable.
      ACTUAL -
      Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeansTM has been added to the java.beans package. Please see XMLEncoder.

      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/plaf/basic/BasicCheckBoxUI.html
      (Incident Review ID: 277157)
      ======================================================================

        Attachments

          Activity

            People

            • Assignee:
              serb Sergey Bylokhov
              Reporter:
              gmanwanisunw Girish Manwani (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported:
                Indexed: