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

classes in java.awt.* that are serializable but don't define serialVersionUID

XMLWordPrintable

    • b24
    • generic
    • solaris_8

      The following locations in J2SE's java.awt sources define serializable classes
      that don't define a serialVersionUID. These may result in an unintentional
      serialization incompatibility in the future.

      src/share/classes/java/awt/AWTKeyStroke.java:43: class java.awt.AWTKeyStroke
      src/share/classes/java/awt/Button.java:502: class java.awt.Button.AccessibleAWTButton
      src/share/classes/java/awt/Canvas.java:204: class java.awt.Canvas.AccessibleAWTCanvas
      src/share/classes/java/awt/Checkbox.java:681: class java.awt.Checkbox.AccessibleAWTCheckbox
      src/share/classes/java/awt/CheckboxMenuItem.java:492: class java.awt.CheckboxMenuItem.AccessibleAWTCheckboxMenuItem
      src/share/classes/java/awt/Choice.java:740: class java.awt.Choice.AccessibleAWTChoice
      src/share/classes/java/awt/ComponentOrientation.java:73: class java.awt.ComponentOrientation
      src/share/classes/java/awt/Container.java:2883: class java.awt.Container.AccessibleAWTContainer
      src/share/classes/java/awt/ContainerOrderFocusTraversalPolicy.java:33: class java.awt.ContainerOrderFocusTraversalPolicy
      src/share/classes/java/awt/DefaultFocusTraversalPolicy.java:46: class java.awt.DefaultFocusTraversalPolicy
      src/share/classes/java/awt/DefaultKeyboardFocusManager.java:124: class java.awt.DefaultKeyboardFocusManager.DefaultKeyboardFocusManagerSentEvent
      src/share/classes/java/awt/Dialog.java:761: class java.awt.Dialog.AccessibleAWTDialog
      src/share/classes/java/awt/EventDispatchThread.java:90: class java.awt.EventDispatchThread.EmptyEvent
      src/share/classes/java/awt/Frame.java:1118: class java.awt.Frame.AccessibleAWTFrame
      src/share/classes/java/awt/GridBagLayout.java:12: class java.awt.GridBagLayoutInfo
      src/share/classes/java/awt/GridLayout.java:70: class java.awt.GridLayout
      src/share/classes/java/awt/Label.java:300: class java.awt.Label.AccessibleAWTLabel
      src/share/classes/java/awt/List.java:1217: class java.awt.List.AccessibleAWTList
      src/share/classes/java/awt/List.java:1407: class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
      src/share/classes/java/awt/Menu.java:576: class java.awt.Menu.AccessibleAWTMenu
      src/share/classes/java/awt/MenuBar.java:448: class java.awt.MenuBar.AccessibleAWTMenuBar
      src/share/classes/java/awt/MenuItem.java:715: class java.awt.MenuItem.AccessibleAWTMenuItem
      src/share/classes/java/awt/Panel.java:100: class java.awt.Panel.AccessibleAWTPanel
      src/share/classes/java/awt/PopupMenu.java:174: class java.awt.PopupMenu.AccessibleAWTPopupMenu
      src/share/classes/java/awt/ScrollPane.java:687: class java.awt.ScrollPane.PeerFixer
      src/share/classes/java/awt/ScrollPane.java:747: class java.awt.ScrollPane.AccessibleAWTScrollPane
      src/share/classes/java/awt/ScrollPane.java:775: class java.awt.PeerFixer
      src/share/classes/java/awt/Scrollbar.java:1112: class java.awt.Scrollbar.AccessibleAWTScrollBar
      src/share/classes/java/awt/SentEvent.java:24: class java.awt.SentEvent
      src/share/classes/java/awt/SequencedEvent.java:28: class java.awt.SequencedEvent
      src/share/classes/java/awt/TextArea.java:666: class java.awt.TextArea.AccessibleAWTTextArea
      src/share/classes/java/awt/TextComponent.java:833: class java.awt.TextComponent.AccessibleAWTTextComponent
      src/share/classes/java/awt/TextField.java:694: class java.awt.TextField.AccessibleAWTTextField
      src/share/classes/java/awt/Window.java:1845: class java.awt.Window.AccessibleAWTWindow
      src/share/classes/java/awt/color/ICC_Profile.java:71: class java.awt.color.ICC_Profile
      src/share/classes/java/awt/event/HierarchyEvent.java:61: class java.awt.event.HierarchyEvent
      src/share/classes/java/awt/event/MouseWheelEvent.java:71: class java.awt.event.MouseWheelEvent
      src/share/classes/java/awt/geom/AffineTransform.java:34: class java.awt.geom.AffineTransform
      src/share/classes/sun/awt/FocusingTextField.java:20: class sun.awt.FocusingTextField
      src/share/classes/sun/awt/OrientableFlowLayout.java:22: class sun.awt.OrientableFlowLayout
      src/share/classes/sun/awt/VariableGridLayout.java:23: class sun.awt.VariableGridLayout
      src/share/classes/sun/awt/dnd/SunDropTargetEvent.java:14: class sun.awt.dnd.SunDropTargetEvent
      src/share/classes/sun/awt/print/NumericField.java:14: class sun.awt.print.NumericField
      src/share/classes/sun/awt/print/PrintDialog.java:1032: class sun.awt.print.PrintDialog.LoadingPrintersCBModel
      src/share/classes/sun/awt/print/PrintDialog.java:29: class sun.awt.print.PrintDialog
      src/share/classes/sun/awt/print/PrintDialog.java:902: class sun.awt.print.PrintDialog.SaveFileChooser
      src/share/classes/sun/awt/print/PrintDialog.java:951: class sun.awt.print.PrintDialog.OrientationLabel
      src/solaris/classes/sun/awt/motif/MEmbeddedFrame.java:17: class sun.awt.motif.MEmbeddedFrame
      src/solaris/classes/sun/awt/motif/MFontProperties.java:19: class sun.awt.motif.MFontProperties
      src/solaris/classes/sun/awt/motif/MScrollPanePeer.java:165: class sun.awt.motif.MScrollPanePeer.ScrollEvent
      src/solaris/classes/sun/awt/motif/X11CustomCursor.java:22: class sun.awt.motif.X11CustomCursor
      src/solaris/classes/sun/awt/motif/X11FontMetrics.java:20: class sun.awt.motif.X11FontMetrics

            son Oleg Sukhodolsky (Inactive)
            gafter Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: