changeset 9164:143c5270df72

8032627: Add @SuppressWarnings("serial") to appropriate javax.swing classes Reviewed-by: alexsch, alanb
author darcy
date Fri, 24 Jan 2014 07:16:53 -0800
parents ae3ff8cd993f
children cb9912710dce
files src/share/classes/javax/swing/AbstractAction.java src/share/classes/javax/swing/AbstractButton.java src/share/classes/javax/swing/AbstractCellEditor.java src/share/classes/javax/swing/AbstractListModel.java src/share/classes/javax/swing/CellRendererPane.java src/share/classes/javax/swing/DefaultBoundedRangeModel.java src/share/classes/javax/swing/DefaultButtonModel.java src/share/classes/javax/swing/DefaultCellEditor.java src/share/classes/javax/swing/DefaultListCellRenderer.java src/share/classes/javax/swing/DefaultListModel.java src/share/classes/javax/swing/DefaultListSelectionModel.java src/share/classes/javax/swing/DefaultSingleSelectionModel.java src/share/classes/javax/swing/ImageIcon.java src/share/classes/javax/swing/JApplet.java src/share/classes/javax/swing/JCheckBox.java src/share/classes/javax/swing/JCheckBoxMenuItem.java src/share/classes/javax/swing/JColorChooser.java src/share/classes/javax/swing/JComboBox.java src/share/classes/javax/swing/JComponent.java src/share/classes/javax/swing/JDesktopPane.java src/share/classes/javax/swing/JDialog.java src/share/classes/javax/swing/JEditorPane.java src/share/classes/javax/swing/JFormattedTextField.java src/share/classes/javax/swing/JFrame.java src/share/classes/javax/swing/JInternalFrame.java src/share/classes/javax/swing/JLabel.java src/share/classes/javax/swing/JList.java src/share/classes/javax/swing/JOptionPane.java src/share/classes/javax/swing/JPanel.java src/share/classes/javax/swing/JPasswordField.java src/share/classes/javax/swing/JProgressBar.java src/share/classes/javax/swing/JRadioButton.java src/share/classes/javax/swing/JRadioButtonMenuItem.java src/share/classes/javax/swing/JScrollBar.java src/share/classes/javax/swing/JScrollPane.java src/share/classes/javax/swing/JSlider.java src/share/classes/javax/swing/JSpinner.java src/share/classes/javax/swing/JSplitPane.java src/share/classes/javax/swing/JTabbedPane.java src/share/classes/javax/swing/JTable.java src/share/classes/javax/swing/JTextArea.java src/share/classes/javax/swing/JTextField.java src/share/classes/javax/swing/JTextPane.java src/share/classes/javax/swing/JToggleButton.java src/share/classes/javax/swing/JToolBar.java src/share/classes/javax/swing/JViewport.java src/share/classes/javax/swing/KeyStroke.java src/share/classes/javax/swing/OverlayLayout.java src/share/classes/javax/swing/ScrollPaneLayout.java src/share/classes/javax/swing/SizeRequirements.java src/share/classes/javax/swing/Spring.java src/share/classes/javax/swing/SpringLayout.java src/share/classes/javax/swing/UIDefaults.java src/share/classes/javax/swing/UIManager.java src/share/classes/javax/swing/UnsupportedLookAndFeelException.java src/share/classes/javax/swing/ViewportLayout.java src/share/classes/javax/swing/border/BevelBorder.java src/share/classes/javax/swing/border/EtchedBorder.java src/share/classes/javax/swing/border/LineBorder.java src/share/classes/javax/swing/border/SoftBevelBorder.java src/share/classes/javax/swing/border/StrokeBorder.java src/share/classes/javax/swing/colorchooser/AbstractColorChooserPanel.java src/share/classes/javax/swing/colorchooser/ColorChooserComponentFactory.java src/share/classes/javax/swing/colorchooser/DefaultPreviewPanel.java src/share/classes/javax/swing/colorchooser/DefaultSwatchChooserPanel.java src/share/classes/javax/swing/event/CaretEvent.java src/share/classes/javax/swing/event/HyperlinkEvent.java src/share/classes/javax/swing/event/InternalFrameEvent.java src/share/classes/javax/swing/event/ListSelectionEvent.java src/share/classes/javax/swing/event/TableColumnModelEvent.java src/share/classes/javax/swing/event/TableModelEvent.java src/share/classes/javax/swing/event/TreeExpansionEvent.java src/share/classes/javax/swing/event/TreeModelEvent.java src/share/classes/javax/swing/event/UndoableEditEvent.java src/share/classes/javax/swing/plaf/BorderUIResource.java src/share/classes/javax/swing/plaf/ColorUIResource.java src/share/classes/javax/swing/plaf/DimensionUIResource.java src/share/classes/javax/swing/plaf/FontUIResource.java src/share/classes/javax/swing/plaf/IconUIResource.java src/share/classes/javax/swing/plaf/InsetsUIResource.java src/share/classes/javax/swing/plaf/basic/BasicArrowButton.java src/share/classes/javax/swing/plaf/basic/BasicCheckBoxUI.java src/share/classes/javax/swing/plaf/basic/BasicComboBoxEditor.java src/share/classes/javax/swing/plaf/basic/BasicComboBoxRenderer.java src/share/classes/javax/swing/plaf/basic/BasicComboPopup.java src/share/classes/javax/swing/plaf/basic/BasicEditorPaneUI.java src/share/classes/javax/swing/plaf/basic/BasicIconFactory.java src/share/classes/javax/swing/plaf/basic/BasicInternalFrameTitlePane.java src/share/classes/javax/swing/plaf/basic/BasicListUI.java src/share/classes/javax/swing/plaf/basic/BasicLookAndFeel.java src/share/classes/javax/swing/plaf/basic/BasicSplitPaneDivider.java src/share/classes/javax/swing/plaf/basic/BasicTextAreaUI.java src/share/classes/javax/swing/plaf/basic/BasicTextFieldUI.java src/share/classes/javax/swing/plaf/basic/BasicTextPaneUI.java src/share/classes/javax/swing/plaf/basic/BasicTextUI.java src/share/classes/javax/swing/plaf/basic/ComboPopup.java src/share/classes/javax/swing/plaf/metal/DefaultMetalTheme.java src/share/classes/javax/swing/plaf/metal/MetalButtonUI.java src/share/classes/javax/swing/plaf/metal/MetalCheckBoxIcon.java src/share/classes/javax/swing/plaf/metal/MetalCheckBoxUI.java src/share/classes/javax/swing/plaf/metal/MetalComboBoxButton.java src/share/classes/javax/swing/plaf/metal/MetalComboBoxEditor.java src/share/classes/javax/swing/plaf/metal/MetalComboBoxUI.java src/share/classes/javax/swing/plaf/metal/MetalIconFactory.java src/share/classes/javax/swing/plaf/metal/MetalLookAndFeel.java src/share/classes/javax/swing/plaf/metal/MetalProgressBarUI.java src/share/classes/javax/swing/plaf/metal/MetalRadioButtonUI.java src/share/classes/javax/swing/plaf/metal/MetalRootPaneUI.java src/share/classes/javax/swing/plaf/metal/MetalScrollButton.java src/share/classes/javax/swing/plaf/metal/MetalScrollPaneUI.java src/share/classes/javax/swing/plaf/metal/MetalSeparatorUI.java src/share/classes/javax/swing/plaf/metal/MetalSliderUI.java src/share/classes/javax/swing/plaf/metal/MetalSplitPaneDivider.java src/share/classes/javax/swing/plaf/metal/MetalSplitPaneUI.java src/share/classes/javax/swing/plaf/metal/MetalTabbedPaneUI.java src/share/classes/javax/swing/plaf/metal/MetalTextFieldUI.java src/share/classes/javax/swing/plaf/metal/MetalToggleButtonUI.java src/share/classes/javax/swing/plaf/metal/MetalToolTipUI.java src/share/classes/javax/swing/plaf/multi/MultiLookAndFeel.java src/share/classes/javax/swing/plaf/synth/SynthTextAreaUI.java src/share/classes/javax/swing/plaf/synth/SynthTextFieldUI.java src/share/classes/javax/swing/plaf/synth/SynthTextPaneUI.java src/share/classes/javax/swing/table/AbstractTableModel.java src/share/classes/javax/swing/table/DefaultTableCellRenderer.java src/share/classes/javax/swing/table/DefaultTableColumnModel.java src/share/classes/javax/swing/table/DefaultTableModel.java src/share/classes/javax/swing/table/JTableHeader.java src/share/classes/javax/swing/table/TableColumn.java src/share/classes/javax/swing/text/AbstractDocument.java src/share/classes/javax/swing/text/DateFormatter.java src/share/classes/javax/swing/text/DefaultCaret.java src/share/classes/javax/swing/text/DefaultEditorKit.java src/share/classes/javax/swing/text/DefaultFormatter.java src/share/classes/javax/swing/text/DefaultFormatterFactory.java src/share/classes/javax/swing/text/DefaultStyledDocument.java src/share/classes/javax/swing/text/InternationalFormatter.java src/share/classes/javax/swing/text/JTextComponent.java src/share/classes/javax/swing/text/MaskFormatter.java src/share/classes/javax/swing/text/NumberFormatter.java src/share/classes/javax/swing/text/PlainDocument.java src/share/classes/javax/swing/text/SimpleAttributeSet.java src/share/classes/javax/swing/text/StringContent.java src/share/classes/javax/swing/text/StyleContext.java src/share/classes/javax/swing/text/StyledEditorKit.java src/share/classes/javax/swing/text/TabSet.java src/share/classes/javax/swing/text/TabStop.java src/share/classes/javax/swing/text/TextAction.java src/share/classes/javax/swing/text/html/HTMLDocument.java src/share/classes/javax/swing/text/html/Option.java src/share/classes/javax/swing/tree/AbstractLayoutCache.java src/share/classes/javax/swing/tree/DefaultMutableTreeNode.java src/share/classes/javax/swing/tree/DefaultTreeCellEditor.java src/share/classes/javax/swing/tree/DefaultTreeCellRenderer.java src/share/classes/javax/swing/tree/DefaultTreeModel.java src/share/classes/javax/swing/tree/DefaultTreeSelectionModel.java src/share/classes/javax/swing/tree/FixedHeightLayoutCache.java src/share/classes/javax/swing/tree/TreePath.java src/share/classes/javax/swing/tree/VariableHeightLayoutCache.java src/share/classes/javax/swing/undo/CannotRedoException.java src/share/classes/javax/swing/undo/CannotUndoException.java src/share/classes/javax/swing/undo/UndoManager.java
diffstat 161 files changed, 380 insertions(+), 161 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/javax/swing/AbstractAction.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/AbstractAction.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -56,6 +56,7 @@
  * @author Georges Saab
  * @see Action
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public abstract class AbstractAction implements Action, Cloneable, Serializable
 {
     /**
--- a/src/share/classes/javax/swing/AbstractButton.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/AbstractButton.java	Fri Jan 24 07:16:53 2014 -0800
@@ -72,6 +72,7 @@
  *
  * @author Jeff Dinkins
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public abstract class AbstractButton extends JComponent implements ItemSelectable, SwingConstants {
 
     // *********************************
@@ -2384,6 +2385,7 @@
      * Please see {@link java.beans.XMLEncoder}.
      * @since 1.4
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected abstract class AccessibleAbstractButton
         extends AccessibleJComponent implements AccessibleAction,
         AccessibleValue, AccessibleText, AccessibleExtendedComponent {
--- a/src/share/classes/javax/swing/AbstractCellEditor.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/AbstractCellEditor.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -50,7 +50,7 @@
  * @author Philip Milne
  * @since 1.3
  */
-
+@SuppressWarnings("serial") // Same-version serialization only
 public abstract class AbstractCellEditor implements CellEditor, Serializable {
 
     protected EventListenerList listenerList = new EventListenerList();
--- a/src/share/classes/javax/swing/AbstractListModel.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/AbstractListModel.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -46,6 +46,7 @@
  *
  * @author Hans Muller
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public abstract class AbstractListModel<E> implements ListModel<E>, Serializable
 {
     protected EventListenerList listenerList = new EventListenerList();
--- a/src/share/classes/javax/swing/CellRendererPane.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/CellRendererPane.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -63,6 +63,7 @@
  *
  * @author Hans Muller
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class CellRendererPane extends Container implements Accessible
 {
     /**
--- a/src/share/classes/javax/swing/DefaultBoundedRangeModel.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/DefaultBoundedRangeModel.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -45,6 +45,7 @@
  * @author Hans Muller
  * @see BoundedRangeModel
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class DefaultBoundedRangeModel implements BoundedRangeModel, Serializable
 {
     /**
--- a/src/share/classes/javax/swing/DefaultButtonModel.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/DefaultButtonModel.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -45,6 +45,7 @@
  *
  * @author Jeff Dinkins
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class DefaultButtonModel implements ButtonModel, Serializable {
 
     /** The bitmask used to store the state of the button. */
--- a/src/share/classes/javax/swing/DefaultCellEditor.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/DefaultCellEditor.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -50,7 +50,7 @@
  * @author Alan Chung
  * @author Philip Milne
  */
-
+@SuppressWarnings("serial") // Same-version serialization only
 public class DefaultCellEditor extends AbstractCellEditor
     implements TableCellEditor, TreeCellEditor {
 
--- a/src/share/classes/javax/swing/DefaultListCellRenderer.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/DefaultListCellRenderer.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -70,6 +70,7 @@
  * @author Philip Milne
  * @author Hans Muller
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class DefaultListCellRenderer extends JLabel
     implements ListCellRenderer<Object>, Serializable
 {
@@ -341,6 +342,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class UIResource extends DefaultListCellRenderer
         implements javax.swing.plaf.UIResource
     {
--- a/src/share/classes/javax/swing/DefaultListModel.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/DefaultListModel.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -52,6 +52,7 @@
  *
  * @author Hans Muller
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class DefaultListModel<E> extends AbstractListModel<E>
 {
     private Vector<E> delegate = new Vector<E>();
--- a/src/share/classes/javax/swing/DefaultListSelectionModel.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/DefaultListSelectionModel.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -49,7 +49,7 @@
  * @author Hans Muller
  * @see ListSelectionModel
  */
-
+@SuppressWarnings("serial") // Same-version serialization only
 public class DefaultListSelectionModel implements ListSelectionModel, Cloneable, Serializable
 {
     private static final int MIN = -1;
--- a/src/share/classes/javax/swing/DefaultSingleSelectionModel.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/DefaultSingleSelectionModel.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -43,6 +43,7 @@
  *
  * @author Dave Moore
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class DefaultSingleSelectionModel implements SingleSelectionModel,
 Serializable {
     /* Only one ModelChangeEvent is needed per model instance since the
--- a/src/share/classes/javax/swing/ImageIcon.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/ImageIcon.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -66,6 +66,7 @@
  * @author Jeff Dinkins
  * @author Lynn Monsanto
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class ImageIcon implements Icon, Serializable, Accessible {
     /* Keep references to the filename and location so that
      * alternate persistence schemes have the option to archive
@@ -572,6 +573,7 @@
      * Please see {@link java.beans.XMLEncoder}.
      * @since 1.3
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleImageIcon extends AccessibleContext
         implements AccessibleIcon, Serializable {
 
--- a/src/share/classes/javax/swing/JApplet.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JApplet.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -90,6 +90,7 @@
  *
  * @author Arnaud Weber
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JApplet extends Applet implements Accessible,
                                                RootPaneContainer,
                                TransferHandler.HasGetTransferHandler
--- a/src/share/classes/javax/swing/JCheckBox.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JCheckBox.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -75,6 +75,7 @@
  *
  * @author Jeff Dinkins
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JCheckBox extends JToggleButton implements Accessible {
 
     /** Identifies a change to the flat property. */
@@ -334,6 +335,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleJCheckBox extends AccessibleJToggleButton {
 
         /**
--- a/src/share/classes/javax/swing/JCheckBoxMenuItem.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JCheckBoxMenuItem.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -88,6 +88,7 @@
  * @author Georges Saab
  * @author David Karlton
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JCheckBoxMenuItem extends JMenuItem implements SwingConstants,
         Accessible
 {
@@ -293,6 +294,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleJCheckBoxMenuItem extends AccessibleJMenuItem {
         /**
          * Get the role of this object.
--- a/src/share/classes/javax/swing/JColorChooser.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JColorChooser.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -83,6 +83,7 @@
  * @author Amy Fowler
  * @author Steve Wilson
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JColorChooser extends JComponent implements Accessible {
 
     /**
--- a/src/share/classes/javax/swing/JComboBox.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JComboBox.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -78,6 +78,7 @@
  * @author Arnaud Weber
  * @author Mark Davidson
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JComboBox<E> extends JComponent
 implements ItemSelectable,ListDataListener,ActionListener, Accessible {
     /**
@@ -1612,6 +1613,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleJComboBox extends AccessibleJComponent
     implements AccessibleAction, AccessibleSelection {
 
--- a/src/share/classes/javax/swing/JComponent.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JComponent.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -179,6 +179,7 @@
  * @author Hans Muller
  * @author Arnaud Weber
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public abstract class JComponent extends Container implements Serializable,
                                               TransferHandler.HasGetTransferHandler
 {
@@ -3657,6 +3658,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public abstract class AccessibleJComponent extends AccessibleAWTContainer
        implements AccessibleExtendedComponent
     {
--- a/src/share/classes/javax/swing/JDesktopPane.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JDesktopPane.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -86,6 +86,7 @@
  *
  * @author David Kloba
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JDesktopPane extends JLayeredPane implements Accessible
 {
     /**
@@ -616,6 +617,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleJDesktopPane extends AccessibleJComponent {
 
         /**
--- a/src/share/classes/javax/swing/JDialog.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JDialog.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -95,6 +95,7 @@
  * @author James Gosling
  * @author Scott Violet
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JDialog extends Dialog implements WindowConstants,
                                                Accessible,
                                                RootPaneContainer,
--- a/src/share/classes/javax/swing/JEditorPane.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JEditorPane.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -189,6 +189,7 @@
  *
  * @author  Timothy Prinzing
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JEditorPane extends JTextComponent {
 
     /**
@@ -1640,6 +1641,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleJEditorPane extends AccessibleJTextComponent {
 
         /**
@@ -1694,6 +1696,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleJEditorPaneHTML extends AccessibleJEditorPane {
 
         private AccessibleContext accessibleContext;
--- a/src/share/classes/javax/swing/JFormattedTextField.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JFormattedTextField.java	Fri Jan 24 07:16:53 2014 -0800
@@ -177,6 +177,7 @@
  *
  * @since 1.4
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JFormattedTextField extends JTextField {
     private static final String uiClassID = "FormattedTextFieldUI";
     private static final Action[] defaultActions =
--- a/src/share/classes/javax/swing/JFrame.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JFrame.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -112,6 +112,7 @@
  * @author Georges Saab
  * @author David Kloba
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JFrame  extends Frame implements WindowConstants,
                                               Accessible,
                                               RootPaneContainer,
--- a/src/share/classes/javax/swing/JInternalFrame.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JInternalFrame.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -110,6 +110,7 @@
  *      description: A frame container which is contained within
  *                   another window.
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JInternalFrame extends JComponent implements
         Accessible, WindowConstants,
         RootPaneContainer
@@ -2034,6 +2035,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleJInternalFrame extends AccessibleJComponent
         implements AccessibleValue {
 
@@ -2151,6 +2153,7 @@
      *
      * @author David Kloba
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     static public class JDesktopIcon extends JComponent implements Accessible
     {
         JInternalFrame internalFrame;
@@ -2323,6 +2326,7 @@
          * has been added to the <code>java.beans</code> package.
          * Please see {@link java.beans.XMLEncoder}.
          */
+        @SuppressWarnings("serial") // Same-version serialization only
         protected class AccessibleJDesktopIcon extends AccessibleJComponent
             implements AccessibleValue {
 
--- a/src/share/classes/javax/swing/JLabel.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JLabel.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
--- a/src/share/classes/javax/swing/JList.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JList.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -277,6 +277,7 @@
  *
  * @author Hans Muller
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JList<E> extends JComponent implements Scrollable, Accessible
 {
     /**
@@ -2881,6 +2882,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleJList extends AccessibleJComponent
         implements AccessibleSelection, PropertyChangeListener,
         ListSelectionListener, ListDataListener {
--- a/src/share/classes/javax/swing/JOptionPane.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JOptionPane.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -310,6 +310,7 @@
  * @author James Gosling
  * @author Scott Violet
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JOptionPane extends JComponent implements Accessible
 {
     /**
@@ -2576,6 +2577,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleJOptionPane extends AccessibleJComponent {
 
         /**
--- a/src/share/classes/javax/swing/JPanel.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JPanel.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -62,6 +62,7 @@
  * @author Arnaud Weber
  * @author Steve Wilson
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JPanel extends JComponent implements Accessible
 {
     /**
@@ -233,6 +234,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleJPanel extends AccessibleJComponent {
 
         /**
--- a/src/share/classes/javax/swing/JPasswordField.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JPasswordField.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -74,6 +74,7 @@
  *
  * @author  Timothy Prinzing
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JPasswordField extends JTextField {
 
     /**
--- a/src/share/classes/javax/swing/JProgressBar.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JProgressBar.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -129,6 +129,7 @@
  * @author Michael C. Albers
  * @author Kathy Walrath
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JProgressBar extends JComponent implements SwingConstants, Accessible
 {
     /**
@@ -647,6 +648,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     private class ModelListener implements ChangeListener, Serializable {
         public void stateChanged(ChangeEvent e) {
             fireStateChanged();
@@ -1035,6 +1037,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleJProgressBar extends AccessibleJComponent
         implements AccessibleValue {
 
--- a/src/share/classes/javax/swing/JRadioButton.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JRadioButton.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -86,6 +86,7 @@
  * @see JCheckBox
  * @author Jeff Dinkins
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JRadioButton extends JToggleButton implements Accessible {
 
     /**
@@ -284,6 +285,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleJRadioButton extends AccessibleJToggleButton {
 
         /**
--- a/src/share/classes/javax/swing/JRadioButtonMenuItem.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JRadioButtonMenuItem.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -83,6 +83,7 @@
  * @author David Karlton
  * @see ButtonGroup
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JRadioButtonMenuItem extends JMenuItem implements Accessible {
     /**
      * @see #getUIClassID
@@ -266,6 +267,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleJRadioButtonMenuItem extends AccessibleJMenuItem {
         /**
          * Get the role of this object.
--- a/src/share/classes/javax/swing/JScrollBar.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JScrollBar.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -78,6 +78,7 @@
  *
  * @author David Kloba
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JScrollBar extends JComponent implements Adjustable, Accessible
 {
     /**
@@ -842,6 +843,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleJScrollBar extends AccessibleJComponent
         implements AccessibleValue {
 
--- a/src/share/classes/javax/swing/JScrollPane.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JScrollPane.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -168,6 +168,7 @@
  *
  * @author Hans Muller
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JScrollPane extends JComponent implements ScrollPaneConstants, Accessible
 {
     private Border viewportBorder;
@@ -685,6 +686,7 @@
      * @see JScrollPane#createVerticalScrollBar
      * @see JScrollPane#createHorizontalScrollBar
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class ScrollBar extends JScrollBar implements UIResource
     {
         /**
@@ -1441,6 +1443,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleJScrollPane extends AccessibleJComponent
         implements ChangeListener, PropertyChangeListener {
 
--- a/src/share/classes/javax/swing/JSlider.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JSlider.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -78,6 +78,7 @@
  *
  * @author David Kloba
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JSlider extends JComponent implements SwingConstants, Accessible {
     /**
      * @see #getUIClassID
@@ -1429,6 +1430,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleJSlider extends AccessibleJComponent
     implements AccessibleValue {
 
--- a/src/share/classes/javax/swing/JSpinner.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JSpinner.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -126,6 +126,7 @@
  * @author Lynn Monsanto (accessibility)
  * @since 1.4
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JSpinner extends JComponent implements Accessible
 {
     /**
--- a/src/share/classes/javax/swing/JSplitPane.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JSplitPane.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -98,6 +98,7 @@
  *
  * @author Scott Violet
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JSplitPane extends JComponent implements Accessible
 {
     /**
@@ -1156,6 +1157,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleJSplitPane extends AccessibleJComponent
         implements AccessibleValue {
         /**
--- a/src/share/classes/javax/swing/JTabbedPane.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JTabbedPane.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -106,6 +106,7 @@
  *
  * @see SingleSelectionModel
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JTabbedPane extends JComponent
        implements Serializable, Accessible, SwingConstants {
 
@@ -1889,6 +1890,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleJTabbedPane extends AccessibleJComponent
         implements AccessibleSelection, ChangeListener {
 
--- a/src/share/classes/javax/swing/JTable.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JTable.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -218,6 +218,7 @@
 /* The first versions of the JTable, contained in Swing-0.1 through
  * Swing-0.4, were written by Alan Chung.
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JTable extends JComponent implements TableModelListener, Scrollable,
     TableColumnModelListener, ListSelectionListener, CellEditorListener,
     Accessible, RowSorterListener
@@ -6583,6 +6584,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleJTable extends AccessibleJComponent
     implements AccessibleSelection, ListSelectionListener, TableModelListener,
     TableColumnModelListener, CellEditorListener, PropertyChangeListener,
--- a/src/share/classes/javax/swing/JTextArea.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JTextArea.java	Fri Jan 24 07:16:53 2014 -0800
@@ -124,6 +124,7 @@
  * @see JTextPane
  * @see JEditorPane
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JTextArea extends JTextComponent {
 
     /**
@@ -787,6 +788,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleJTextArea extends AccessibleJTextComponent {
 
         /**
--- a/src/share/classes/javax/swing/JTextField.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JTextField.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -161,6 +161,7 @@
  * @see JPasswordField
  * @see #addActionListener
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JTextField extends JTextComponent implements SwingConstants {
 
     /**
@@ -943,6 +944,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleJTextField extends AccessibleJTextComponent {
 
         /**
--- a/src/share/classes/javax/swing/JTextPane.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JTextPane.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -79,6 +79,7 @@
  * @author  Timothy Prinzing
  * @see javax.swing.text.StyledEditorKit
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JTextPane extends JEditorPane {
 
     /**
--- a/src/share/classes/javax/swing/JToggleButton.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JToggleButton.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -76,6 +76,7 @@
  * @see JCheckBox
  * @author Jeff Dinkins
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JToggleButton extends AbstractButton implements Accessible {
 
     /**
@@ -222,6 +223,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class ToggleButtonModel extends DefaultButtonModel {
 
         /**
@@ -384,6 +386,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleJToggleButton extends AccessibleAbstractButton
             implements ItemListener {
 
--- a/src/share/classes/javax/swing/JToolBar.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JToolBar.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -86,6 +86,7 @@
  * @author Jeff Shapiro
  * @see Action
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JToolBar extends JComponent implements SwingConstants, Accessible
 {
     /**
--- a/src/share/classes/javax/swing/JViewport.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/JViewport.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -102,6 +102,7 @@
  * @author Philip Milne
  * @see JScrollPane
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JViewport extends JComponent implements Accessible
 {
     /**
@@ -1296,6 +1297,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class ViewListener extends ComponentAdapter implements Serializable
     {
         public void componentResized(ComponentEvent e) {
@@ -1765,6 +1767,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleJViewport extends AccessibleJComponent {
         /**
          * Get the role of this object.
--- a/src/share/classes/javax/swing/KeyStroke.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/KeyStroke.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -61,6 +61,7 @@
  * @author Arnaud Weber
  * @author David Mendenhall
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class KeyStroke extends AWTKeyStroke {
 
     /**
--- a/src/share/classes/javax/swing/OverlayLayout.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/OverlayLayout.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -51,6 +51,7 @@
  *
  * @author   Timothy Prinzing
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class OverlayLayout implements LayoutManager2,Serializable {
 
     /**
--- a/src/share/classes/javax/swing/ScrollPaneLayout.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/ScrollPaneLayout.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -57,6 +57,7 @@
  *
  * @author Hans Muller
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class ScrollPaneLayout
     implements LayoutManager, ScrollPaneConstants, Serializable
 {
--- a/src/share/classes/javax/swing/SizeRequirements.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/SizeRequirements.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -93,6 +93,7 @@
  *
  * @author Timothy Prinzing
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class SizeRequirements implements Serializable {
 
     /**
--- a/src/share/classes/javax/swing/Spring.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/Spring.java	Fri Jan 24 07:16:53 2014 -0800
@@ -127,6 +127,7 @@
  * @author      Philip Milne
  * @since       1.4
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public abstract class Spring {
 
     /**
--- a/src/share/classes/javax/swing/SpringLayout.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/SpringLayout.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -184,6 +184,7 @@
  * @author      Joe Winchester
  * @since       1.4
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class SpringLayout implements LayoutManager2 {
     private Map<Component, Constraints> componentConstraints = new HashMap<Component, Constraints>();
 
--- a/src/share/classes/javax/swing/UIDefaults.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/UIDefaults.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -72,6 +72,7 @@
  * @see UIManager
  * @author Hans Muller
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class UIDefaults extends Hashtable<Object,Object>
 {
     private static final Object PENDING = "Pending";
--- a/src/share/classes/javax/swing/UIManager.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/UIManager.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -174,6 +174,7 @@
  * @author Thomas Ball
  * @author Hans Muller
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class UIManager implements Serializable
 {
     /**
--- a/src/share/classes/javax/swing/UnsupportedLookAndFeelException.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/UnsupportedLookAndFeelException.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -39,6 +39,7 @@
  *
  * @author unattributed
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class UnsupportedLookAndFeelException extends Exception
 {
     /**
--- a/src/share/classes/javax/swing/ViewportLayout.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/ViewportLayout.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -56,6 +56,7 @@
  *
  * @author Hans Muller
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class ViewportLayout implements LayoutManager, Serializable
 {
     // Single instance used by JViewport.
--- a/src/share/classes/javax/swing/border/BevelBorder.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/border/BevelBorder.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -44,6 +44,7 @@
  *
  * @author David Kloba
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class BevelBorder extends AbstractBorder
 {
     /** Raised bevel type. */
--- a/src/share/classes/javax/swing/border/EtchedBorder.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/border/EtchedBorder.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -51,6 +51,7 @@
  * @author David Kloba
  * @author Amy Fowler
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class EtchedBorder extends AbstractBorder
 {
     /** Raised etched type. */
--- a/src/share/classes/javax/swing/border/LineBorder.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/border/LineBorder.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -50,6 +50,7 @@
  *
  * @author David Kloba
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class LineBorder extends AbstractBorder
 {
     private static Border blackLine;
--- a/src/share/classes/javax/swing/border/SoftBevelBorder.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/border/SoftBevelBorder.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -47,6 +47,7 @@
  * @author Amy Fowler
  * @author Chester Rose
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class SoftBevelBorder extends BevelBorder
 {
 
--- a/src/share/classes/javax/swing/border/StrokeBorder.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/border/StrokeBorder.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -50,6 +50,7 @@
  *
  * @since 1.7
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class StrokeBorder extends AbstractBorder {
     private final BasicStroke stroke;
     private final Paint paint;
--- a/src/share/classes/javax/swing/colorchooser/AbstractColorChooserPanel.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/colorchooser/AbstractColorChooserPanel.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -47,6 +47,7 @@
  * @author Tom Santos
  * @author Steve Wilson
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public abstract class AbstractColorChooserPanel extends JPanel {
 
     private final PropertyChangeListener enabledListener = new PropertyChangeListener() {
--- a/src/share/classes/javax/swing/colorchooser/ColorChooserComponentFactory.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/colorchooser/ColorChooserComponentFactory.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -43,6 +43,7 @@
  *
  * @author Steve Wilson
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class ColorChooserComponentFactory {
 
     private ColorChooserComponentFactory() { } // can't instantiate
--- a/src/share/classes/javax/swing/colorchooser/DefaultPreviewPanel.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/colorchooser/DefaultPreviewPanel.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -53,6 +53,7 @@
  * @author Steve Wilson
  * @see JColorChooser
  */
+@SuppressWarnings("serial") // Same-version serialization only
 class DefaultPreviewPanel extends JPanel {
 
     private int squareSize = 25;
--- a/src/share/classes/javax/swing/colorchooser/DefaultSwatchChooserPanel.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/colorchooser/DefaultSwatchChooserPanel.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -51,6 +51,7 @@
  *
  * @author Steve Wilson
  */
+@SuppressWarnings("serial") // Same-version serialization only
 class DefaultSwatchChooserPanel extends AbstractColorChooserPanel {
 
     SwatchPanel swatchPanel;
--- a/src/share/classes/javax/swing/event/CaretEvent.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/event/CaretEvent.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -42,6 +42,7 @@
  *
  * @author  Timothy Prinzing
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public abstract class CaretEvent extends EventObject {
 
     /**
--- a/src/share/classes/javax/swing/event/HyperlinkEvent.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/event/HyperlinkEvent.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -45,6 +45,7 @@
  *
  * @author  Timothy Prinzing
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class HyperlinkEvent extends EventObject {
 
     /**
--- a/src/share/classes/javax/swing/event/InternalFrameEvent.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/event/InternalFrameEvent.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -53,6 +53,7 @@
  *
  * @author Thomas Ball
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class InternalFrameEvent extends AWTEvent {
 
     /**
--- a/src/share/classes/javax/swing/event/ListSelectionEvent.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/event/ListSelectionEvent.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -50,6 +50,7 @@
  * @author Ray Ryan
  * @see ListSelectionModel
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class ListSelectionEvent extends EventObject
 {
     private int firstIndex;
--- a/src/share/classes/javax/swing/event/TableColumnModelEvent.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/event/TableColumnModelEvent.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -45,6 +45,7 @@
  * @author Alan Chung
  * @see TableColumnModelListener
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class TableColumnModelEvent extends java.util.EventObject
 {
 //
--- a/src/share/classes/javax/swing/event/TableModelEvent.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/event/TableModelEvent.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -65,6 +65,7 @@
  * @author Philip Milne
  * @see TableModel
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class TableModelEvent extends java.util.EventObject
 {
     /** Identifies the addition of new rows or columns. */
--- a/src/share/classes/javax/swing/event/TreeExpansionEvent.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/event/TreeExpansionEvent.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -48,6 +48,7 @@
  *
  * @author Scott Violet
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class TreeExpansionEvent extends EventObject
 {
     /**
--- a/src/share/classes/javax/swing/event/TreeModelEvent.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/event/TreeModelEvent.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -50,6 +50,7 @@
  * @author Ray Ryan
  * @author Scott Violet
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class TreeModelEvent extends EventObject {
     /** Path to the parent of the nodes that have changed. */
     protected TreePath  path;
--- a/src/share/classes/javax/swing/event/UndoableEditEvent.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/event/UndoableEditEvent.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -41,6 +41,7 @@
  *
  * @author Ray Ryan
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class UndoableEditEvent extends java.util.EventObject {
     private UndoableEdit myEdit;
 
--- a/src/share/classes/javax/swing/plaf/BorderUIResource.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/BorderUIResource.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -59,6 +59,7 @@
  * @author Amy Fowler
  *
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class BorderUIResource implements Border, UIResource, Serializable
 {
     static Border etched;
--- a/src/share/classes/javax/swing/plaf/ColorUIResource.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/ColorUIResource.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -45,6 +45,7 @@
  * @author Hans Muller
  *
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class ColorUIResource extends Color implements UIResource
 {
     @ConstructorProperties({"red", "green", "blue"})
--- a/src/share/classes/javax/swing/plaf/DimensionUIResource.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/DimensionUIResource.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -48,6 +48,7 @@
  * @author Amy Fowler
  *
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class DimensionUIResource extends Dimension implements UIResource
 {
     public DimensionUIResource(int width, int height) {
--- a/src/share/classes/javax/swing/plaf/FontUIResource.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/FontUIResource.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -47,6 +47,7 @@
  * @author Hans Muller
  *
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class FontUIResource extends Font implements UIResource
 {
     public FontUIResource(String name, int style, int size) {
--- a/src/share/classes/javax/swing/plaf/IconUIResource.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/IconUIResource.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -52,6 +52,7 @@
  * @author Amy Fowler
  *
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class IconUIResource implements Icon, UIResource, Serializable
 {
     private Icon delegate;
--- a/src/share/classes/javax/swing/plaf/InsetsUIResource.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/InsetsUIResource.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -47,6 +47,7 @@
  * @author Amy Fowler
  *
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class InsetsUIResource extends Insets implements UIResource
 {
     public InsetsUIResource(int top, int left, int bottom, int right) {
--- a/src/share/classes/javax/swing/plaf/basic/BasicArrowButton.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/basic/BasicArrowButton.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -45,6 +45,7 @@
  *
  * @author David Kloba
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class BasicArrowButton extends JButton implements SwingConstants
 {
         /**
--- a/src/share/classes/javax/swing/plaf/basic/BasicCheckBoxUI.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/basic/BasicCheckBoxUI.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -49,6 +49,7 @@
  *
  * @author Jeff Dinkins
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class BasicCheckBoxUI extends BasicRadioButtonUI {
 
     private static final Object BASIC_CHECK_BOX_UI_KEY = new Object();
--- a/src/share/classes/javax/swing/plaf/basic/BasicComboBoxEditor.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/basic/BasicComboBoxEditor.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -164,6 +164,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class UIResource extends BasicComboBoxEditor
     implements javax.swing.plaf.UIResource {
     }
--- a/src/share/classes/javax/swing/plaf/basic/BasicComboBoxRenderer.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/basic/BasicComboBoxRenderer.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -47,6 +47,7 @@
  *
  * @author Arnaud Weber
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class BasicComboBoxRenderer extends JLabel
 implements ListCellRenderer, Serializable {
 
@@ -139,6 +140,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class UIResource extends BasicComboBoxRenderer implements javax.swing.plaf.UIResource {
     }
 }
--- a/src/share/classes/javax/swing/plaf/basic/BasicComboPopup.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/basic/BasicComboPopup.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -60,6 +60,7 @@
  * @author Tom Santos
  * @author Mark Davidson
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class BasicComboPopup extends JPopupMenu implements ComboPopup {
     // An empty ListMode, this is used when the UI changes to allow
     // the JList to be gc'ed.
--- a/src/share/classes/javax/swing/plaf/basic/BasicEditorPaneUI.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/basic/BasicEditorPaneUI.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -50,6 +50,7 @@
  *
  * @author  Timothy Prinzing
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class BasicEditorPaneUI extends BasicTextUI {
 
     /**
--- a/src/share/classes/javax/swing/plaf/basic/BasicIconFactory.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/basic/BasicIconFactory.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -49,6 +49,7 @@
  * @author David Kloba
  * @author Georges Saab
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class BasicIconFactory implements Serializable
 {
     private static Icon frame_icon;
--- a/src/share/classes/javax/swing/plaf/basic/BasicInternalFrameTitlePane.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/basic/BasicInternalFrameTitlePane.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -57,6 +57,7 @@
  * @author David Kloba
  * @author Steve Wilson
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class BasicInternalFrameTitlePane extends JComponent
 {
     protected JMenuBar menuBar;
--- a/src/share/classes/javax/swing/plaf/basic/BasicListUI.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/basic/BasicListUI.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -1496,6 +1496,7 @@
      * @see #installKeyboardActions
      * @see #installUI
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public class MouseInputHandler implements MouseInputListener
     {
         public void mouseClicked(MouseEvent e) {
@@ -1600,6 +1601,7 @@
      * @see #getCellBounds
      * @see #installUI
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public class ListSelectionHandler implements ListSelectionListener
     {
         public void valueChanged(ListSelectionEvent e)
@@ -1659,6 +1661,7 @@
      * @see #createListDataListener
      * @see #installUI
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public class ListDataHandler implements ListDataListener
     {
         public void intervalAdded(ListDataEvent e) {
@@ -1725,6 +1728,7 @@
      * @see #createPropertyChangeListener
      * @see #installUI
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public class PropertyChangeHandler implements PropertyChangeListener
     {
         public void propertyChange(PropertyChangeEvent e)
--- a/src/share/classes/javax/swing/plaf/basic/BasicLookAndFeel.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/basic/BasicLookAndFeel.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -102,6 +102,7 @@
  *
  * @author unattributed
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public abstract class BasicLookAndFeel extends LookAndFeel implements Serializable
 {
     /**
--- a/src/share/classes/javax/swing/plaf/basic/BasicSplitPaneDivider.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/basic/BasicSplitPaneDivider.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -59,6 +59,7 @@
  *
  * @author Scott Violet
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class BasicSplitPaneDivider extends Container
     implements PropertyChangeListener
 {
@@ -675,6 +676,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class DragController
     {
         /**
--- a/src/share/classes/javax/swing/plaf/basic/BasicTextAreaUI.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/basic/BasicTextAreaUI.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -49,6 +49,7 @@
  *
  * @author  Timothy Prinzing
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class BasicTextAreaUI extends BasicTextUI {
 
     /**
--- a/src/share/classes/javax/swing/plaf/basic/BasicTextFieldUI.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/basic/BasicTextFieldUI.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -51,6 +51,7 @@
  *
  * @author  Timothy Prinzing
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class BasicTextFieldUI extends BasicTextUI {
 
     /**
--- a/src/share/classes/javax/swing/plaf/basic/BasicTextPaneUI.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/basic/BasicTextPaneUI.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -47,6 +47,7 @@
  *
  * @author  Timothy Prinzing
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class BasicTextPaneUI extends BasicEditorPaneUI {
 
     /**
--- a/src/share/classes/javax/swing/plaf/basic/BasicTextUI.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/basic/BasicTextUI.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -100,6 +100,7 @@
  * @author Timothy Prinzing
  * @author Shannon Hickey (drag and drop)
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public abstract class BasicTextUI extends TextUI implements ViewFactory {
 
     /**
--- a/src/share/classes/javax/swing/plaf/basic/ComboPopup.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/basic/ComboPopup.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -46,6 +46,7 @@
  *
  * @author Tom Santos
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public interface ComboPopup {
     /**
      * Shows the popup
--- a/src/share/classes/javax/swing/plaf/metal/DefaultMetalTheme.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/metal/DefaultMetalTheme.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -88,6 +88,7 @@
  *
  * @author Steve Wilson
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class DefaultMetalTheme extends MetalTheme {
     /**
      * Whether or not fonts should be plain.  This is only used if
--- a/src/share/classes/javax/swing/plaf/metal/MetalButtonUI.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/metal/MetalButtonUI.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -50,6 +50,7 @@
  *
  * @author Tom Santos
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class MetalButtonUI extends BasicButtonUI {
     // NOTE: These are not really needed, but at this point we can't pull
     // them. Their values are updated purely for historical reasons.
--- a/src/share/classes/javax/swing/plaf/metal/MetalCheckBoxIcon.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/metal/MetalCheckBoxIcon.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -46,6 +46,7 @@
  *
  * @author Steve Wilson
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class MetalCheckBoxIcon implements Icon, UIResource, Serializable {
 
     protected int getControlSize() { return 13; }
--- a/src/share/classes/javax/swing/plaf/metal/MetalCheckBoxUI.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/metal/MetalCheckBoxUI.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -51,6 +51,7 @@
  * @author Michael C. Albers
  *
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class MetalCheckBoxUI extends MetalRadioButtonUI {
 
     // NOTE: MetalCheckBoxUI inherts from MetalRadioButtonUI instead
--- a/src/share/classes/javax/swing/plaf/metal/MetalComboBoxButton.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/metal/MetalComboBoxButton.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -48,6 +48,7 @@
  * @see MetalComboBoxButton
  * @author Tom Santos
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class MetalComboBoxButton extends JButton {
     protected JComboBox comboBox;
     protected JList listBox;
--- a/src/share/classes/javax/swing/plaf/metal/MetalComboBoxEditor.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/metal/MetalComboBoxEditor.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -47,6 +47,7 @@
  *
  * @author Steve Wilson
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class MetalComboBoxEditor extends BasicComboBoxEditor {
 
     public MetalComboBoxEditor() {
@@ -133,6 +134,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class UIResource extends MetalComboBoxEditor
     implements javax.swing.plaf.UIResource {
     }
--- a/src/share/classes/javax/swing/plaf/metal/MetalComboBoxUI.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/metal/MetalComboBoxUI.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -51,6 +51,7 @@
  * @see MetalComboBoxButton
  * @author Tom Santos
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class MetalComboBoxUI extends BasicComboBoxUI {
 
     public static ComponentUI createUI(JComponent c) {
--- a/src/share/classes/javax/swing/plaf/metal/MetalIconFactory.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/metal/MetalIconFactory.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -58,6 +58,7 @@
  *
  * @author Michael C. Albers
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class MetalIconFactory implements Serializable {
 
     // List of code-drawn Icons
@@ -1554,6 +1555,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class FolderIcon16 implements Icon, Serializable {
 
         ImageCacher imageCacher;
@@ -1636,6 +1638,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class TreeFolderIcon extends FolderIcon16 {
         public int getShift() { return -1; }
         public int getAdditionalHeight() { return 2; }
@@ -1655,6 +1658,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class FileIcon16 implements Icon, Serializable {
 
         ImageCacher imageCacher;
@@ -1740,6 +1744,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class TreeControlIcon implements Icon, Serializable {
         // This data member should not have been exposed.  It's called
         // isLight, but now it really means isCollapsed.  Since we can't change
--- a/src/share/classes/javax/swing/plaf/metal/MetalLookAndFeel.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/metal/MetalLookAndFeel.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -82,6 +82,7 @@
  *
  * @author Steve Wilson
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class MetalLookAndFeel extends BasicLookAndFeel
 {
 
--- a/src/share/classes/javax/swing/plaf/metal/MetalProgressBarUI.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/metal/MetalProgressBarUI.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -44,6 +44,7 @@
  *
  * @author Michael C. Albers
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class MetalProgressBarUI extends BasicProgressBarUI {
 
     private Rectangle innards;
--- a/src/share/classes/javax/swing/plaf/metal/MetalRadioButtonUI.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/metal/MetalRadioButtonUI.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -53,6 +53,7 @@
  * @author Michael C. Albers (Metal modifications)
  * @author Jeff Dinkins (original BasicRadioButtonCode)
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class MetalRadioButtonUI extends BasicRadioButtonUI {
 
     private static final Object METAL_RADIO_BUTTON_UI_KEY = new Object();
--- a/src/share/classes/javax/swing/plaf/metal/MetalRootPaneUI.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/metal/MetalRootPaneUI.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -63,6 +63,7 @@
  * @author Terry Kellerman
  * @since 1.4
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class MetalRootPaneUI extends BasicRootPaneUI
 {
     /**
--- a/src/share/classes/javax/swing/plaf/metal/MetalScrollButton.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/metal/MetalScrollButton.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -50,6 +50,7 @@
  * @author Tom Santos
  * @author Steve Wilson
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class MetalScrollButton extends BasicArrowButton
 {
   private static Color shadowColor;
--- a/src/share/classes/javax/swing/plaf/metal/MetalScrollPaneUI.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/metal/MetalScrollPaneUI.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -50,6 +50,7 @@
  *
  * @author Steve Wilson
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class MetalScrollPaneUI extends BasicScrollPaneUI
 {
 
--- a/src/share/classes/javax/swing/plaf/metal/MetalSeparatorUI.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/metal/MetalSeparatorUI.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -50,7 +50,7 @@
  *
  * @author Jeff Shapiro
  */
-
+@SuppressWarnings("serial") // Same-version serialization only
 public class MetalSeparatorUI extends BasicSeparatorUI
 {
     public static ComponentUI createUI( JComponent c )
--- a/src/share/classes/javax/swing/plaf/metal/MetalSliderUI.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/metal/MetalSliderUI.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -50,6 +50,7 @@
  *
  * @author Tom Santos
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class MetalSliderUI extends BasicSliderUI {
 
     protected final int TICK_BUFFER = 4;
--- a/src/share/classes/javax/swing/plaf/metal/MetalSplitPaneDivider.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/metal/MetalSplitPaneDivider.java	Fri Jan 24 07:16:53 2014 -0800
@@ -46,6 +46,7 @@
  * @author Steve Wilson
  * @author Ralph kar
  */
+@SuppressWarnings("serial") // Same-version serialization only
 class MetalSplitPaneDivider extends BasicSplitPaneDivider
 {
     private MetalBumps bumps = new MetalBumps(10, 10,
--- a/src/share/classes/javax/swing/plaf/metal/MetalSplitPaneUI.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/metal/MetalSplitPaneUI.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -43,6 +43,7 @@
  *
  * @author Steve Wilson
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class MetalSplitPaneUI extends BasicSplitPaneUI
 {
 
--- a/src/share/classes/javax/swing/plaf/metal/MetalTabbedPaneUI.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/metal/MetalTabbedPaneUI.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -47,7 +47,7 @@
  *
  * @author Tom Santos
  */
-
+@SuppressWarnings("serial") // Same-version serialization only
 public class MetalTabbedPaneUI extends BasicTabbedPaneUI {
 
     protected int minTabWidth = 40;
--- a/src/share/classes/javax/swing/plaf/metal/MetalTextFieldUI.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/metal/MetalTextFieldUI.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -47,6 +47,7 @@
  *
  * @author  Steve Wilson
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class MetalTextFieldUI extends BasicTextFieldUI {
 
     public static ComponentUI createUI(JComponent c) {
--- a/src/share/classes/javax/swing/plaf/metal/MetalToggleButtonUI.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/metal/MetalToggleButtonUI.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -55,6 +55,7 @@
  *
  * @author Tom Santos
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class MetalToggleButtonUI extends BasicToggleButtonUI {
 
     private static final Object METAL_TOGGLE_BUTTON_UI_KEY = new Object();
--- a/src/share/classes/javax/swing/plaf/metal/MetalToolTipUI.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/metal/MetalToolTipUI.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -51,6 +51,7 @@
  *
  * @author Steve Wilson
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class MetalToolTipUI extends BasicToolTipUI {
 
     static MetalToolTipUI sharedInstance = new MetalToolTipUI();
--- a/src/share/classes/javax/swing/plaf/multi/MultiLookAndFeel.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/multi/MultiLookAndFeel.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -56,6 +56,7 @@
  *
  * @author Willie Walker
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class MultiLookAndFeel extends LookAndFeel {
 
 //////////////////////////////
--- a/src/share/classes/javax/swing/plaf/synth/SynthTextAreaUI.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/synth/SynthTextAreaUI.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -51,6 +51,7 @@
  * @author  Shannon Hickey
  * @since 1.7
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class SynthTextAreaUI extends BasicTextAreaUI implements SynthUI {
     private Handler handler = new Handler();
     private SynthStyle style;
--- a/src/share/classes/javax/swing/plaf/synth/SynthTextFieldUI.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/synth/SynthTextFieldUI.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -50,6 +50,7 @@
  * @author  Shannon Hickey
  * @since 1.7
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class SynthTextFieldUI extends BasicTextFieldUI implements SynthUI {
     private Handler handler = new Handler();
     private SynthStyle style;
--- a/src/share/classes/javax/swing/plaf/synth/SynthTextPaneUI.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/plaf/synth/SynthTextPaneUI.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -47,6 +47,7 @@
  * @author  Shannon Hickey
  * @since 1.7
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class SynthTextPaneUI extends SynthEditorPaneUI {
 
     /**
--- a/src/share/classes/javax/swing/table/AbstractTableModel.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/table/AbstractTableModel.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -57,6 +57,7 @@
  * @author Alan Chung
  * @author Philip Milne
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public abstract class AbstractTableModel implements TableModel, Serializable
 {
 //
--- a/src/share/classes/javax/swing/table/DefaultTableCellRenderer.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/table/DefaultTableCellRenderer.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -82,6 +82,7 @@
  * @author Philip Milne
  * @see JTable
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class DefaultTableCellRenderer extends JLabel
     implements TableCellRenderer, Serializable
 {
@@ -391,6 +392,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class UIResource extends DefaultTableCellRenderer
         implements javax.swing.plaf.UIResource
     {
--- a/src/share/classes/javax/swing/table/DefaultTableColumnModel.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/table/DefaultTableColumnModel.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -52,6 +52,7 @@
  * @author Philip Milne
  * @see JTable
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class DefaultTableColumnModel implements TableColumnModel,
                         PropertyChangeListener, ListSelectionListener, Serializable
 {
--- a/src/share/classes/javax/swing/table/DefaultTableModel.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/table/DefaultTableModel.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -59,6 +59,7 @@
  * @see TableModel
  * @see #getDataVector
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class DefaultTableModel extends AbstractTableModel implements Serializable {
 
 //
--- a/src/share/classes/javax/swing/table/JTableHeader.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/table/JTableHeader.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -60,6 +60,7 @@
  * @author Philip Milne
  * @see javax.swing.JTable
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class JTableHeader extends JComponent implements TableColumnModelListener, Accessible
 {
     /**
@@ -780,6 +781,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class AccessibleJTableHeader extends AccessibleJComponent {
 
         /**
--- a/src/share/classes/javax/swing/table/TableColumn.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/table/TableColumn.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -82,6 +82,7 @@
  * @see JTable#getCellRenderer(int, int)
  * @see JTable#getCellEditor(int, int)
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class TableColumn extends Object implements Serializable {
 
     /**
--- a/src/share/classes/javax/swing/text/AbstractDocument.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/text/AbstractDocument.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -96,6 +96,7 @@
  *
  * @author  Timothy Prinzing
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public abstract class AbstractDocument implements Document, Serializable {
 
     /**
@@ -1782,6 +1783,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public abstract class AbstractElement implements Element, MutableAttributeSet, Serializable, TreeNode {
 
         /**
@@ -2251,6 +2253,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public class BranchElement extends AbstractElement {
 
         /**
@@ -2507,6 +2510,7 @@
      *
      * @see     Element
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public class LeafElement extends AbstractElement {
 
         /**
--- a/src/share/classes/javax/swing/text/DateFormatter.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/text/DateFormatter.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -47,6 +47,7 @@
  *
  * @since 1.4
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class DateFormatter extends InternationalFormatter {
     /**
      * This is shorthand for
--- a/src/share/classes/javax/swing/text/DefaultCaret.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/text/DefaultCaret.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -105,6 +105,7 @@
  * @author  Timothy Prinzing
  * @see     Caret
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class DefaultCaret extends Rectangle implements Caret, FocusListener, MouseListener, MouseMotionListener {
 
     /**
--- a/src/share/classes/javax/swing/text/DefaultEditorKit.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/text/DefaultEditorKit.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -849,6 +849,7 @@
      * @see Keymap#setDefaultAction
      * @see Keymap#getDefaultAction
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class DefaultKeyTypedAction extends TextAction {
 
         /**
@@ -906,6 +907,7 @@
      * @see DefaultEditorKit#insertContentAction
      * @see DefaultEditorKit#getActions
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class InsertContentAction extends TextAction {
 
         /**
@@ -954,6 +956,7 @@
      * @see DefaultEditorKit#insertBreakAction
      * @see DefaultEditorKit#getActions
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class InsertBreakAction extends TextAction {
 
         /**
@@ -996,6 +999,7 @@
      * @see DefaultEditorKit#insertTabAction
      * @see DefaultEditorKit#getActions
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class InsertTabAction extends TextAction {
 
         /**
@@ -1272,6 +1276,7 @@
      * @see DefaultEditorKit#cutAction
      * @see DefaultEditorKit#getActions
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class CutAction extends TextAction {
 
         /** Create this object with the appropriate identifier. */
@@ -1308,6 +1313,7 @@
      * @see DefaultEditorKit#copyAction
      * @see DefaultEditorKit#getActions
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class CopyAction extends TextAction {
 
         /** Create this object with the appropriate identifier. */
@@ -1345,6 +1351,7 @@
      * @see DefaultEditorKit#pasteAction
      * @see DefaultEditorKit#getActions
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class PasteAction extends TextAction {
 
         /** Create this object with the appropriate identifier. */
@@ -1380,6 +1387,7 @@
      * @see DefaultEditorKit#beepAction
      * @see DefaultEditorKit#getActions
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class BeepAction extends TextAction {
 
         /** Create this object with the appropriate identifier. */
--- a/src/share/classes/javax/swing/text/DefaultFormatter.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/text/DefaultFormatter.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -59,6 +59,7 @@
  *
  * @since 1.4
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class DefaultFormatter extends JFormattedTextField.AbstractFormatter
                     implements Cloneable, Serializable {
     /** Indicates if the value being edited must match the mask. */
--- a/src/share/classes/javax/swing/text/DefaultFormatterFactory.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/text/DefaultFormatterFactory.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -72,6 +72,7 @@
  *
  * @since 1.4
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class DefaultFormatterFactory extends JFormattedTextField.AbstractFormatterFactory implements Serializable {
     /**
      * Default <code>AbstractFormatter</code> to use if a more specific one has
--- a/src/share/classes/javax/swing/text/DefaultStyledDocument.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/text/DefaultStyledDocument.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -69,6 +69,7 @@
  * @see     Document
  * @see     AbstractDocument
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class DefaultStyledDocument extends AbstractDocument implements StyledDocument {
 
     /**
@@ -1128,6 +1129,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     protected class SectionElement extends BranchElement {
 
         /**
@@ -1159,6 +1161,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class ElementSpec {
 
         /**
@@ -1394,6 +1397,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public class ElementBuffer implements Serializable {
 
         /**
--- a/src/share/classes/javax/swing/text/InternationalFormatter.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/text/InternationalFormatter.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -92,6 +92,7 @@
  *
  * @since 1.4
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class InternationalFormatter extends DefaultFormatter {
     /**
      * Used by <code>getFields</code>.
--- a/src/share/classes/javax/swing/text/JTextComponent.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/text/JTextComponent.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -292,6 +292,7 @@
  * @see View
  * @see ViewFactory
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public abstract class JTextComponent extends JComponent implements Scrollable, Accessible
 {
     /**
@@ -1118,6 +1119,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class KeyBinding {
 
         /**
@@ -2535,6 +2537,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public class AccessibleJTextComponent extends AccessibleJComponent
     implements AccessibleText, CaretListener, DocumentListener,
                AccessibleAction, AccessibleEditableText,
--- a/src/share/classes/javax/swing/text/MaskFormatter.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/text/MaskFormatter.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -149,6 +149,7 @@
  *
  * @since 1.4
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class MaskFormatter extends DefaultFormatter {
     // Potential values in mask.
     private static final char DIGIT_KEY = '#';
--- a/src/share/classes/javax/swing/text/NumberFormatter.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/text/NumberFormatter.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -91,6 +91,7 @@
  *
  * @since 1.4
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class NumberFormatter extends InternationalFormatter {
     /** The special characters from the Format instance. */
     private String specialChars;
--- a/src/share/classes/javax/swing/text/PlainDocument.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/text/PlainDocument.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -56,6 +56,7 @@
  * @see     Document
  * @see     AbstractDocument
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class PlainDocument extends AbstractDocument {
 
     /**
--- a/src/share/classes/javax/swing/text/SimpleAttributeSet.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/text/SimpleAttributeSet.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -48,6 +48,7 @@
  *
  * @author Tim Prinzing
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class SimpleAttributeSet implements MutableAttributeSet, Serializable, Cloneable
 {
     private static final long serialVersionUID = -6631553454711782652L;
--- a/src/share/classes/javax/swing/text/StringContent.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/text/StringContent.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -50,6 +50,7 @@
  *
  * @author  Timothy Prinzing
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public final class StringContent implements AbstractDocument.Content, Serializable {
 
     /**
--- a/src/share/classes/javax/swing/text/StyleContext.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/text/StyleContext.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -62,6 +62,7 @@
  *
  * @author  Timothy Prinzing
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class StyleContext implements Serializable, AbstractDocument.AttributeContext {
 
     /**
@@ -1244,6 +1245,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public class NamedStyle implements Style, Serializable {
 
         /**
--- a/src/share/classes/javax/swing/text/StyledEditorKit.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/text/StyledEditorKit.java	Fri Jan 24 07:16:53 2014 -0800
@@ -375,6 +375,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public abstract static class StyledTextAction extends TextAction {
 
         /**
@@ -494,6 +495,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class FontFamilyAction extends StyledTextAction {
 
         /**
@@ -550,6 +552,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class FontSizeAction extends StyledTextAction {
 
         /**
@@ -617,6 +620,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class ForegroundAction extends StyledTextAction {
 
         /**
@@ -683,6 +687,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class AlignmentAction extends StyledTextAction {
 
         /**
@@ -733,6 +738,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class BoldAction extends StyledTextAction {
 
         /**
@@ -772,6 +778,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class ItalicAction extends StyledTextAction {
 
         /**
@@ -811,6 +818,7 @@
      * has been added to the <code>java.beans</code> package.
      * Please see {@link java.beans.XMLEncoder}.
      */
+    @SuppressWarnings("serial") // Same-version serialization only
     public static class UnderlineAction extends StyledTextAction {
 
         /**
--- a/src/share/classes/javax/swing/text/TabSet.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/text/TabSet.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -43,6 +43,7 @@
  *
  * @author  Scott Violet
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class TabSet implements Serializable
 {
     /** TabStops this TabSet contains. */
--- a/src/share/classes/javax/swing/text/TabStop.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/text/TabStop.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2002, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -42,6 +42,7 @@
  * Please see {@link java.beans.XMLEncoder}.
  *
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class TabStop implements Serializable {
 
     /** Character following tab is positioned at location. */
--- a/src/share/classes/javax/swing/text/TextAction.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/text/TextAction.java	Fri Jan 24 07:16:53 2014 -0800
@@ -58,6 +58,7 @@
  *
  * @author  Timothy Prinzing
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public abstract class TextAction extends AbstractAction {
 
     /**
--- a/src/share/classes/javax/swing/text/html/HTMLDocument.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/text/html/HTMLDocument.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -270,6 +270,7 @@
  * @author  Scott Violet
  * @author  Sunita Mani
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class HTMLDocument extends DefaultStyledDocument {
     /**
      * Constructs an HTML document using the default buffer size
--- a/src/share/classes/javax/swing/text/html/Option.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/text/html/Option.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -44,6 +44,7 @@
  *
  * @author  Timothy Prinzing
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class Option implements Serializable {
 
     /**
--- a/src/share/classes/javax/swing/tree/AbstractLayoutCache.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/tree/AbstractLayoutCache.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -42,7 +42,7 @@
  *
  * @author Scott Violet
  */
-
+@SuppressWarnings("serial") // Same-version serialization only
 public abstract class AbstractLayoutCache implements RowMapper {
     /** Object responsible for getting the size of a node. */
     protected NodeDimensions     nodeDimensions;
--- a/src/share/classes/javax/swing/tree/DefaultMutableTreeNode.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/tree/DefaultMutableTreeNode.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -85,6 +85,7 @@
  *
  * @author Rob Davis
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class DefaultMutableTreeNode implements Cloneable,
        MutableTreeNode, Serializable
 {
--- a/src/share/classes/javax/swing/tree/DefaultTreeCellEditor.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/tree/DefaultTreeCellEditor.java	Fri Jan 24 07:16:53 2014 -0800
@@ -60,6 +60,7 @@
  *
  * @author Scott Violet
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class DefaultTreeCellEditor implements ActionListener, TreeCellEditor,
             TreeSelectionListener {
     /** Editor handling the editing. */
--- a/src/share/classes/javax/swing/tree/DefaultTreeCellRenderer.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/tree/DefaultTreeCellRenderer.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -103,6 +103,7 @@
  * @author Ray Ryan
  * @author Scott Violet
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class DefaultTreeCellRenderer extends JLabel implements TreeCellRenderer
 {
     /** Last tree the renderer was painted in. */
--- a/src/share/classes/javax/swing/tree/DefaultTreeModel.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/tree/DefaultTreeModel.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -49,6 +49,7 @@
  * @author Ray Ryan
  * @author Scott Violet
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class DefaultTreeModel implements Serializable, TreeModel {
     /** Root of the tree. */
     protected TreeNode root;
--- a/src/share/classes/javax/swing/tree/DefaultTreeSelectionModel.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/tree/DefaultTreeSelectionModel.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
--- a/src/share/classes/javax/swing/tree/FixedHeightLayoutCache.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/tree/FixedHeightLayoutCache.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -48,7 +48,7 @@
  *
  * @author Scott Violet
  */
-
+@SuppressWarnings("serial") // Same-version serialization only
 public class FixedHeightLayoutCache extends AbstractLayoutCache {
     /** Root node. */
     private FHTreeStateNode    root;
--- a/src/share/classes/javax/swing/tree/TreePath.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/tree/TreePath.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -81,6 +81,7 @@
  * @author Scott Violet
  * @author Philip Milne
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class TreePath extends Object implements Serializable {
     /** Path representing the parent, null if lastPathComponent represents
      * the root. */
--- a/src/share/classes/javax/swing/tree/VariableHeightLayoutCache.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/tree/VariableHeightLayoutCache.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -51,7 +51,7 @@
  * @author Ray Ryan
  * @author Scott Violet
  */
-
+@SuppressWarnings("serial") // Same-version serialization only
 public class VariableHeightLayoutCache extends AbstractLayoutCache {
     /**
      * The array of nodes that are currently visible, in the order they
--- a/src/share/classes/javax/swing/undo/CannotRedoException.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/undo/CannotRedoException.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -38,5 +38,6 @@
  *
  * @author Ray Ryan
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class CannotRedoException extends RuntimeException {
 }
--- a/src/share/classes/javax/swing/undo/CannotUndoException.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/undo/CannotUndoException.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -39,5 +39,6 @@
  *
  * @author Ray Ryan
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class CannotUndoException extends RuntimeException {
 }
--- a/src/share/classes/javax/swing/undo/UndoManager.java	Fri Jan 24 13:54:16 2014 +0000
+++ b/src/share/classes/javax/swing/undo/UndoManager.java	Fri Jan 24 07:16:53 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -132,6 +132,7 @@
  *
  * @author Ray Ryan
  */
+@SuppressWarnings("serial") // Same-version serialization only
 public class UndoManager extends CompoundEdit implements UndoableEditListener {
     int indexOfNextAdd;
     int limit;