--- old/src/share/classes/javax/swing/AbstractAction.java 2014-01-23 22:44:38.000000000 -0800 +++ new/src/share/classes/javax/swing/AbstractAction.java 2014-01-23 22:44:37.000000000 -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 { /** --- old/src/share/classes/javax/swing/AbstractButton.java 2014-01-23 22:44:38.000000000 -0800 +++ new/src/share/classes/javax/swing/AbstractButton.java 2014-01-23 22:44:38.000000000 -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 { --- old/src/share/classes/javax/swing/AbstractCellEditor.java 2014-01-23 22:44:39.000000000 -0800 +++ new/src/share/classes/javax/swing/AbstractCellEditor.java 2014-01-23 22:44:38.000000000 -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(); --- old/src/share/classes/javax/swing/AbstractListModel.java 2014-01-23 22:44:39.000000000 -0800 +++ new/src/share/classes/javax/swing/AbstractListModel.java 2014-01-23 22:44:39.000000000 -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 implements ListModel, Serializable { protected EventListenerList listenerList = new EventListenerList(); --- old/src/share/classes/javax/swing/CellRendererPane.java 2014-01-23 22:44:39.000000000 -0800 +++ new/src/share/classes/javax/swing/CellRendererPane.java 2014-01-23 22:44:39.000000000 -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 { /** --- old/src/share/classes/javax/swing/DefaultBoundedRangeModel.java 2014-01-23 22:44:40.000000000 -0800 +++ new/src/share/classes/javax/swing/DefaultBoundedRangeModel.java 2014-01-23 22:44:40.000000000 -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 { /** --- old/src/share/classes/javax/swing/DefaultButtonModel.java 2014-01-23 22:44:40.000000000 -0800 +++ new/src/share/classes/javax/swing/DefaultButtonModel.java 2014-01-23 22:44:40.000000000 -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. */ --- old/src/share/classes/javax/swing/DefaultCellEditor.java 2014-01-23 22:44:41.000000000 -0800 +++ new/src/share/classes/javax/swing/DefaultCellEditor.java 2014-01-23 22:44:41.000000000 -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 { --- old/src/share/classes/javax/swing/DefaultListCellRenderer.java 2014-01-23 22:44:41.000000000 -0800 +++ new/src/share/classes/javax/swing/DefaultListCellRenderer.java 2014-01-23 22:44:41.000000000 -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, Serializable { @@ -341,6 +342,7 @@ * has been added to the java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only public static class UIResource extends DefaultListCellRenderer implements javax.swing.plaf.UIResource { --- old/src/share/classes/javax/swing/DefaultListModel.java 2014-01-23 22:44:42.000000000 -0800 +++ new/src/share/classes/javax/swing/DefaultListModel.java 2014-01-23 22:44:41.000000000 -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 extends AbstractListModel { private Vector delegate = new Vector(); --- old/src/share/classes/javax/swing/DefaultListSelectionModel.java 2014-01-23 22:44:42.000000000 -0800 +++ new/src/share/classes/javax/swing/DefaultListSelectionModel.java 2014-01-23 22:44:42.000000000 -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; --- old/src/share/classes/javax/swing/DefaultSingleSelectionModel.java 2014-01-23 22:44:43.000000000 -0800 +++ new/src/share/classes/javax/swing/DefaultSingleSelectionModel.java 2014-01-23 22:44:42.000000000 -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 --- old/src/share/classes/javax/swing/ImageIcon.java 2014-01-23 22:44:43.000000000 -0800 +++ new/src/share/classes/javax/swing/ImageIcon.java 2014-01-23 22:44:43.000000000 -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 { --- old/src/share/classes/javax/swing/JApplet.java 2014-01-23 22:44:44.000000000 -0800 +++ new/src/share/classes/javax/swing/JApplet.java 2014-01-23 22:44:43.000000000 -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 --- old/src/share/classes/javax/swing/JCheckBox.java 2014-01-23 22:44:44.000000000 -0800 +++ new/src/share/classes/javax/swing/JCheckBox.java 2014-01-23 22:44:44.000000000 -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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only protected class AccessibleJCheckBox extends AccessibleJToggleButton { /** --- old/src/share/classes/javax/swing/JCheckBoxMenuItem.java 2014-01-23 22:44:44.000000000 -0800 +++ new/src/share/classes/javax/swing/JCheckBoxMenuItem.java 2014-01-23 22:44:44.000000000 -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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only protected class AccessibleJCheckBoxMenuItem extends AccessibleJMenuItem { /** * Get the role of this object. --- old/src/share/classes/javax/swing/JColorChooser.java 2014-01-23 22:44:45.000000000 -0800 +++ new/src/share/classes/javax/swing/JColorChooser.java 2014-01-23 22:44:45.000000000 -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 { /** --- old/src/share/classes/javax/swing/JComboBox.java 2014-01-23 22:44:45.000000000 -0800 +++ new/src/share/classes/javax/swing/JComboBox.java 2014-01-23 22:44:45.000000000 -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 extends JComponent implements ItemSelectable,ListDataListener,ActionListener, Accessible { /** @@ -1612,6 +1613,7 @@ * has been added to the java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only protected class AccessibleJComboBox extends AccessibleJComponent implements AccessibleAction, AccessibleSelection { --- old/src/share/classes/javax/swing/JComponent.java 2014-01-23 22:44:46.000000000 -0800 +++ new/src/share/classes/javax/swing/JComponent.java 2014-01-23 22:44:46.000000000 -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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only public abstract class AccessibleJComponent extends AccessibleAWTContainer implements AccessibleExtendedComponent { --- old/src/share/classes/javax/swing/JDesktopPane.java 2014-01-23 22:44:46.000000000 -0800 +++ new/src/share/classes/javax/swing/JDesktopPane.java 2014-01-23 22:44:46.000000000 -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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only protected class AccessibleJDesktopPane extends AccessibleJComponent { /** --- old/src/share/classes/javax/swing/JDialog.java 2014-01-23 22:44:47.000000000 -0800 +++ new/src/share/classes/javax/swing/JDialog.java 2014-01-23 22:44:47.000000000 -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, --- old/src/share/classes/javax/swing/JEditorPane.java 2014-01-23 22:44:48.000000000 -0800 +++ new/src/share/classes/javax/swing/JEditorPane.java 2014-01-23 22:44:48.000000000 -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 java.beans 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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only protected class AccessibleJEditorPaneHTML extends AccessibleJEditorPane { private AccessibleContext accessibleContext; --- old/src/share/classes/javax/swing/JFormattedTextField.java 2014-01-23 22:44:48.000000000 -0800 +++ new/src/share/classes/javax/swing/JFormattedTextField.java 2014-01-23 22:44:48.000000000 -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 = --- old/src/share/classes/javax/swing/JFrame.java 2014-01-23 22:44:49.000000000 -0800 +++ new/src/share/classes/javax/swing/JFrame.java 2014-01-23 22:44:49.000000000 -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, --- old/src/share/classes/javax/swing/JInternalFrame.java 2014-01-23 22:44:49.000000000 -0800 +++ new/src/share/classes/javax/swing/JInternalFrame.java 2014-01-23 22:44:49.000000000 -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 java.beans 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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only protected class AccessibleJDesktopIcon extends AccessibleJComponent implements AccessibleValue { --- old/src/share/classes/javax/swing/JLabel.java 2014-01-23 22:44:50.000000000 -0800 +++ new/src/share/classes/javax/swing/JLabel.java 2014-01-23 22:44:50.000000000 -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 --- old/src/share/classes/javax/swing/JList.java 2014-01-23 22:44:50.000000000 -0800 +++ new/src/share/classes/javax/swing/JList.java 2014-01-23 22:44:50.000000000 -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 extends JComponent implements Scrollable, Accessible { /** @@ -2881,6 +2882,7 @@ * has been added to the java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only protected class AccessibleJList extends AccessibleJComponent implements AccessibleSelection, PropertyChangeListener, ListSelectionListener, ListDataListener { --- old/src/share/classes/javax/swing/JOptionPane.java 2014-01-23 22:44:51.000000000 -0800 +++ new/src/share/classes/javax/swing/JOptionPane.java 2014-01-23 22:44:51.000000000 -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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only protected class AccessibleJOptionPane extends AccessibleJComponent { /** --- old/src/share/classes/javax/swing/JPanel.java 2014-01-23 22:44:51.000000000 -0800 +++ new/src/share/classes/javax/swing/JPanel.java 2014-01-23 22:44:51.000000000 -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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only protected class AccessibleJPanel extends AccessibleJComponent { /** --- old/src/share/classes/javax/swing/JPasswordField.java 2014-01-23 22:44:52.000000000 -0800 +++ new/src/share/classes/javax/swing/JPasswordField.java 2014-01-23 22:44:52.000000000 -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 { /** --- old/src/share/classes/javax/swing/JProgressBar.java 2014-01-23 22:44:53.000000000 -0800 +++ new/src/share/classes/javax/swing/JProgressBar.java 2014-01-23 22:44:53.000000000 -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 java.beans 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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only protected class AccessibleJProgressBar extends AccessibleJComponent implements AccessibleValue { --- old/src/share/classes/javax/swing/JRadioButton.java 2014-01-23 22:44:53.000000000 -0800 +++ new/src/share/classes/javax/swing/JRadioButton.java 2014-01-23 22:44:53.000000000 -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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only protected class AccessibleJRadioButton extends AccessibleJToggleButton { /** --- old/src/share/classes/javax/swing/JRadioButtonMenuItem.java 2014-01-23 22:44:54.000000000 -0800 +++ new/src/share/classes/javax/swing/JRadioButtonMenuItem.java 2014-01-23 22:44:53.000000000 -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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only protected class AccessibleJRadioButtonMenuItem extends AccessibleJMenuItem { /** * Get the role of this object. --- old/src/share/classes/javax/swing/JScrollBar.java 2014-01-23 22:44:54.000000000 -0800 +++ new/src/share/classes/javax/swing/JScrollBar.java 2014-01-23 22:44:54.000000000 -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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only protected class AccessibleJScrollBar extends AccessibleJComponent implements AccessibleValue { --- old/src/share/classes/javax/swing/JScrollPane.java 2014-01-23 22:44:55.000000000 -0800 +++ new/src/share/classes/javax/swing/JScrollPane.java 2014-01-23 22:44:54.000000000 -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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only protected class AccessibleJScrollPane extends AccessibleJComponent implements ChangeListener, PropertyChangeListener { --- old/src/share/classes/javax/swing/JSlider.java 2014-01-23 22:44:55.000000000 -0800 +++ new/src/share/classes/javax/swing/JSlider.java 2014-01-23 22:44:55.000000000 -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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only protected class AccessibleJSlider extends AccessibleJComponent implements AccessibleValue { --- old/src/share/classes/javax/swing/JSpinner.java 2014-01-23 22:44:55.000000000 -0800 +++ new/src/share/classes/javax/swing/JSpinner.java 2014-01-23 22:44:55.000000000 -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 { /** --- old/src/share/classes/javax/swing/JSplitPane.java 2014-01-23 22:44:56.000000000 -0800 +++ new/src/share/classes/javax/swing/JSplitPane.java 2014-01-23 22:44:56.000000000 -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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only protected class AccessibleJSplitPane extends AccessibleJComponent implements AccessibleValue { /** --- old/src/share/classes/javax/swing/JTabbedPane.java 2014-01-23 22:44:56.000000000 -0800 +++ new/src/share/classes/javax/swing/JTabbedPane.java 2014-01-23 22:44:56.000000000 -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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only protected class AccessibleJTabbedPane extends AccessibleJComponent implements AccessibleSelection, ChangeListener { --- old/src/share/classes/javax/swing/JTable.java 2014-01-23 22:44:58.000000000 -0800 +++ new/src/share/classes/javax/swing/JTable.java 2014-01-23 22:44:58.000000000 -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 java.beans 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, --- old/src/share/classes/javax/swing/JTextArea.java 2014-01-23 22:44:58.000000000 -0800 +++ new/src/share/classes/javax/swing/JTextArea.java 2014-01-23 22:44:58.000000000 -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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only protected class AccessibleJTextArea extends AccessibleJTextComponent { /** --- old/src/share/classes/javax/swing/JTextField.java 2014-01-23 22:44:59.000000000 -0800 +++ new/src/share/classes/javax/swing/JTextField.java 2014-01-23 22:44:59.000000000 -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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only protected class AccessibleJTextField extends AccessibleJTextComponent { /** --- old/src/share/classes/javax/swing/JTextPane.java 2014-01-23 22:44:59.000000000 -0800 +++ new/src/share/classes/javax/swing/JTextPane.java 2014-01-23 22:44:59.000000000 -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 { /** --- old/src/share/classes/javax/swing/JToggleButton.java 2014-01-23 22:45:00.000000000 -0800 +++ new/src/share/classes/javax/swing/JToggleButton.java 2014-01-23 22:45:00.000000000 -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 java.beans 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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only protected class AccessibleJToggleButton extends AccessibleAbstractButton implements ItemListener { --- old/src/share/classes/javax/swing/JToolBar.java 2014-01-23 22:45:00.000000000 -0800 +++ new/src/share/classes/javax/swing/JToolBar.java 2014-01-23 22:45:00.000000000 -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 { /** --- old/src/share/classes/javax/swing/JViewport.java 2014-01-23 22:45:01.000000000 -0800 +++ new/src/share/classes/javax/swing/JViewport.java 2014-01-23 22:45:01.000000000 -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 java.beans 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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only protected class AccessibleJViewport extends AccessibleJComponent { /** * Get the role of this object. --- old/src/share/classes/javax/swing/KeyStroke.java 2014-01-23 22:45:01.000000000 -0800 +++ new/src/share/classes/javax/swing/KeyStroke.java 2014-01-23 22:45:01.000000000 -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 { /** --- old/src/share/classes/javax/swing/OverlayLayout.java 2014-01-23 22:45:02.000000000 -0800 +++ new/src/share/classes/javax/swing/OverlayLayout.java 2014-01-23 22:45:02.000000000 -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 { /** --- old/src/share/classes/javax/swing/ScrollPaneLayout.java 2014-01-23 22:45:02.000000000 -0800 +++ new/src/share/classes/javax/swing/ScrollPaneLayout.java 2014-01-23 22:45:02.000000000 -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 { --- old/src/share/classes/javax/swing/SizeRequirements.java 2014-01-23 22:45:03.000000000 -0800 +++ new/src/share/classes/javax/swing/SizeRequirements.java 2014-01-23 22:45:03.000000000 -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 { /** --- old/src/share/classes/javax/swing/Spring.java 2014-01-23 22:45:03.000000000 -0800 +++ new/src/share/classes/javax/swing/Spring.java 2014-01-23 22:45:03.000000000 -0800 @@ -127,6 +127,7 @@ * @author Philip Milne * @since 1.4 */ +@SuppressWarnings("serial") // Same-version serialization only public abstract class Spring { /** --- old/src/share/classes/javax/swing/SpringLayout.java 2014-01-23 22:45:04.000000000 -0800 +++ new/src/share/classes/javax/swing/SpringLayout.java 2014-01-23 22:45:04.000000000 -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 componentConstraints = new HashMap(); --- old/src/share/classes/javax/swing/UIDefaults.java 2014-01-23 22:45:04.000000000 -0800 +++ new/src/share/classes/javax/swing/UIDefaults.java 2014-01-23 22:45:04.000000000 -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 { private static final Object PENDING = "Pending"; --- old/src/share/classes/javax/swing/UIManager.java 2014-01-23 22:45:05.000000000 -0800 +++ new/src/share/classes/javax/swing/UIManager.java 2014-01-23 22:45:05.000000000 -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 { /** --- old/src/share/classes/javax/swing/UnsupportedLookAndFeelException.java 2014-01-23 22:45:05.000000000 -0800 +++ new/src/share/classes/javax/swing/UnsupportedLookAndFeelException.java 2014-01-23 22:45:05.000000000 -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 { /** --- old/src/share/classes/javax/swing/ViewportLayout.java 2014-01-23 22:45:06.000000000 -0800 +++ new/src/share/classes/javax/swing/ViewportLayout.java 2014-01-23 22:45:05.000000000 -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. --- old/src/share/classes/javax/swing/border/BevelBorder.java 2014-01-23 22:45:06.000000000 -0800 +++ new/src/share/classes/javax/swing/border/BevelBorder.java 2014-01-23 22:45:06.000000000 -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. */ --- old/src/share/classes/javax/swing/border/EtchedBorder.java 2014-01-23 22:45:06.000000000 -0800 +++ new/src/share/classes/javax/swing/border/EtchedBorder.java 2014-01-23 22:45:06.000000000 -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. */ --- old/src/share/classes/javax/swing/border/LineBorder.java 2014-01-23 22:45:07.000000000 -0800 +++ new/src/share/classes/javax/swing/border/LineBorder.java 2014-01-23 22:45:07.000000000 -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; --- old/src/share/classes/javax/swing/border/SoftBevelBorder.java 2014-01-23 22:45:07.000000000 -0800 +++ new/src/share/classes/javax/swing/border/SoftBevelBorder.java 2014-01-23 22:45:07.000000000 -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 { --- old/src/share/classes/javax/swing/border/StrokeBorder.java 2014-01-23 22:45:08.000000000 -0800 +++ new/src/share/classes/javax/swing/border/StrokeBorder.java 2014-01-23 22:45:08.000000000 -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; --- old/src/share/classes/javax/swing/colorchooser/AbstractColorChooserPanel.java 2014-01-23 22:45:08.000000000 -0800 +++ new/src/share/classes/javax/swing/colorchooser/AbstractColorChooserPanel.java 2014-01-23 22:45:08.000000000 -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() { --- old/src/share/classes/javax/swing/colorchooser/ColorChooserComponentFactory.java 2014-01-23 22:45:09.000000000 -0800 +++ new/src/share/classes/javax/swing/colorchooser/ColorChooserComponentFactory.java 2014-01-23 22:45:09.000000000 -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 --- old/src/share/classes/javax/swing/colorchooser/DefaultPreviewPanel.java 2014-01-23 22:45:09.000000000 -0800 +++ new/src/share/classes/javax/swing/colorchooser/DefaultPreviewPanel.java 2014-01-23 22:45:09.000000000 -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; --- old/src/share/classes/javax/swing/colorchooser/DefaultSwatchChooserPanel.java 2014-01-23 22:45:10.000000000 -0800 +++ new/src/share/classes/javax/swing/colorchooser/DefaultSwatchChooserPanel.java 2014-01-23 22:45:10.000000000 -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; --- old/src/share/classes/javax/swing/event/CaretEvent.java 2014-01-23 22:45:10.000000000 -0800 +++ new/src/share/classes/javax/swing/event/CaretEvent.java 2014-01-23 22:45:10.000000000 -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 { /** --- old/src/share/classes/javax/swing/event/HyperlinkEvent.java 2014-01-23 22:45:11.000000000 -0800 +++ new/src/share/classes/javax/swing/event/HyperlinkEvent.java 2014-01-23 22:45:11.000000000 -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 { /** --- old/src/share/classes/javax/swing/event/InternalFrameEvent.java 2014-01-23 22:45:11.000000000 -0800 +++ new/src/share/classes/javax/swing/event/InternalFrameEvent.java 2014-01-23 22:45:11.000000000 -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 { /** --- old/src/share/classes/javax/swing/event/ListSelectionEvent.java 2014-01-23 22:45:12.000000000 -0800 +++ new/src/share/classes/javax/swing/event/ListSelectionEvent.java 2014-01-23 22:45:11.000000000 -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; --- old/src/share/classes/javax/swing/event/TableColumnModelEvent.java 2014-01-23 22:45:12.000000000 -0800 +++ new/src/share/classes/javax/swing/event/TableColumnModelEvent.java 2014-01-23 22:45:12.000000000 -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 { // --- old/src/share/classes/javax/swing/event/TableModelEvent.java 2014-01-23 22:45:13.000000000 -0800 +++ new/src/share/classes/javax/swing/event/TableModelEvent.java 2014-01-23 22:45:13.000000000 -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. */ --- old/src/share/classes/javax/swing/event/TreeExpansionEvent.java 2014-01-23 22:45:13.000000000 -0800 +++ new/src/share/classes/javax/swing/event/TreeExpansionEvent.java 2014-01-23 22:45:13.000000000 -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 { /** --- old/src/share/classes/javax/swing/event/TreeModelEvent.java 2014-01-23 22:45:14.000000000 -0800 +++ new/src/share/classes/javax/swing/event/TreeModelEvent.java 2014-01-23 22:45:14.000000000 -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; --- old/src/share/classes/javax/swing/event/UndoableEditEvent.java 2014-01-23 22:45:14.000000000 -0800 +++ new/src/share/classes/javax/swing/event/UndoableEditEvent.java 2014-01-23 22:45:14.000000000 -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; --- old/src/share/classes/javax/swing/plaf/BorderUIResource.java 2014-01-23 22:45:15.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/BorderUIResource.java 2014-01-23 22:45:15.000000000 -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; --- old/src/share/classes/javax/swing/plaf/ColorUIResource.java 2014-01-23 22:45:15.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/ColorUIResource.java 2014-01-23 22:45:15.000000000 -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"}) --- old/src/share/classes/javax/swing/plaf/DimensionUIResource.java 2014-01-23 22:45:16.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/DimensionUIResource.java 2014-01-23 22:45:16.000000000 -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) { --- old/src/share/classes/javax/swing/plaf/FontUIResource.java 2014-01-23 22:45:16.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/FontUIResource.java 2014-01-23 22:45:16.000000000 -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) { --- old/src/share/classes/javax/swing/plaf/IconUIResource.java 2014-01-23 22:45:17.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/IconUIResource.java 2014-01-23 22:45:17.000000000 -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; --- old/src/share/classes/javax/swing/plaf/InsetsUIResource.java 2014-01-23 22:45:17.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/InsetsUIResource.java 2014-01-23 22:45:17.000000000 -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) { --- old/src/share/classes/javax/swing/plaf/basic/BasicArrowButton.java 2014-01-23 22:45:18.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/basic/BasicArrowButton.java 2014-01-23 22:45:17.000000000 -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 { /** --- old/src/share/classes/javax/swing/plaf/basic/BasicCheckBoxUI.java 2014-01-23 22:45:18.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/basic/BasicCheckBoxUI.java 2014-01-23 22:45:18.000000000 -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(); --- old/src/share/classes/javax/swing/plaf/basic/BasicComboBoxEditor.java 2014-01-23 22:45:18.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/basic/BasicComboBoxEditor.java 2014-01-23 22:45:18.000000000 -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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only public static class UIResource extends BasicComboBoxEditor implements javax.swing.plaf.UIResource { } --- old/src/share/classes/javax/swing/plaf/basic/BasicComboBoxRenderer.java 2014-01-23 22:45:19.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/basic/BasicComboBoxRenderer.java 2014-01-23 22:45:19.000000000 -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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only public static class UIResource extends BasicComboBoxRenderer implements javax.swing.plaf.UIResource { } } --- old/src/share/classes/javax/swing/plaf/basic/BasicComboPopup.java 2014-01-23 22:45:19.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/basic/BasicComboPopup.java 2014-01-23 22:45:19.000000000 -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. --- old/src/share/classes/javax/swing/plaf/basic/BasicEditorPaneUI.java 2014-01-23 22:45:20.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/basic/BasicEditorPaneUI.java 2014-01-23 22:45:20.000000000 -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 { /** --- old/src/share/classes/javax/swing/plaf/basic/BasicIconFactory.java 2014-01-23 22:45:20.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/basic/BasicIconFactory.java 2014-01-23 22:45:20.000000000 -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; --- old/src/share/classes/javax/swing/plaf/basic/BasicInternalFrameTitlePane.java 2014-01-23 22:45:21.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/basic/BasicInternalFrameTitlePane.java 2014-01-23 22:45:21.000000000 -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; --- old/src/share/classes/javax/swing/plaf/basic/BasicListUI.java 2014-01-23 22:45:21.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/basic/BasicListUI.java 2014-01-23 22:45:21.000000000 -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) --- old/src/share/classes/javax/swing/plaf/basic/BasicLookAndFeel.java 2014-01-23 22:45:22.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/basic/BasicLookAndFeel.java 2014-01-23 22:45:22.000000000 -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 { /** --- old/src/share/classes/javax/swing/plaf/basic/BasicSplitPaneDivider.java 2014-01-23 22:45:22.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/basic/BasicSplitPaneDivider.java 2014-01-23 22:45:22.000000000 -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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only protected class DragController { /** --- old/src/share/classes/javax/swing/plaf/basic/BasicTextAreaUI.java 2014-01-23 22:45:23.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/basic/BasicTextAreaUI.java 2014-01-23 22:45:23.000000000 -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 { /** --- old/src/share/classes/javax/swing/plaf/basic/BasicTextFieldUI.java 2014-01-23 22:45:23.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/basic/BasicTextFieldUI.java 2014-01-23 22:45:23.000000000 -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 { /** --- old/src/share/classes/javax/swing/plaf/basic/BasicTextPaneUI.java 2014-01-23 22:45:24.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/basic/BasicTextPaneUI.java 2014-01-23 22:45:23.000000000 -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 { /** --- old/src/share/classes/javax/swing/plaf/basic/BasicTextUI.java 2014-01-23 22:45:24.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/basic/BasicTextUI.java 2014-01-23 22:45:24.000000000 -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 { /** --- old/src/share/classes/javax/swing/plaf/basic/ComboPopup.java 2014-01-23 22:45:24.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/basic/ComboPopup.java 2014-01-23 22:45:24.000000000 -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 --- old/src/share/classes/javax/swing/plaf/metal/DefaultMetalTheme.java 2014-01-23 22:45:25.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/metal/DefaultMetalTheme.java 2014-01-23 22:45:25.000000000 -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 --- old/src/share/classes/javax/swing/plaf/metal/MetalButtonUI.java 2014-01-23 22:45:25.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/metal/MetalButtonUI.java 2014-01-23 22:45:25.000000000 -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. --- old/src/share/classes/javax/swing/plaf/metal/MetalCheckBoxIcon.java 2014-01-23 22:45:26.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/metal/MetalCheckBoxIcon.java 2014-01-23 22:45:26.000000000 -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; } --- old/src/share/classes/javax/swing/plaf/metal/MetalCheckBoxUI.java 2014-01-23 22:45:26.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/metal/MetalCheckBoxUI.java 2014-01-23 22:45:26.000000000 -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 --- old/src/share/classes/javax/swing/plaf/metal/MetalComboBoxButton.java 2014-01-23 22:45:27.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/metal/MetalComboBoxButton.java 2014-01-23 22:45:26.000000000 -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; --- old/src/share/classes/javax/swing/plaf/metal/MetalComboBoxEditor.java 2014-01-23 22:45:27.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/metal/MetalComboBoxEditor.java 2014-01-23 22:45:27.000000000 -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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only public static class UIResource extends MetalComboBoxEditor implements javax.swing.plaf.UIResource { } --- old/src/share/classes/javax/swing/plaf/metal/MetalComboBoxUI.java 2014-01-23 22:45:27.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/metal/MetalComboBoxUI.java 2014-01-23 22:45:27.000000000 -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) { --- old/src/share/classes/javax/swing/plaf/metal/MetalIconFactory.java 2014-01-23 22:45:28.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/metal/MetalIconFactory.java 2014-01-23 22:45:28.000000000 -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 java.beans 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 java.beans 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 java.beans 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 java.beans 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 --- old/src/share/classes/javax/swing/plaf/metal/MetalLookAndFeel.java 2014-01-23 22:45:29.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/metal/MetalLookAndFeel.java 2014-01-23 22:45:28.000000000 -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 { --- old/src/share/classes/javax/swing/plaf/metal/MetalProgressBarUI.java 2014-01-23 22:45:29.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/metal/MetalProgressBarUI.java 2014-01-23 22:45:29.000000000 -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; --- old/src/share/classes/javax/swing/plaf/metal/MetalRadioButtonUI.java 2014-01-23 22:45:30.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/metal/MetalRadioButtonUI.java 2014-01-23 22:45:30.000000000 -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(); --- old/src/share/classes/javax/swing/plaf/metal/MetalRootPaneUI.java 2014-01-23 22:45:30.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/metal/MetalRootPaneUI.java 2014-01-23 22:45:30.000000000 -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 { /** --- old/src/share/classes/javax/swing/plaf/metal/MetalScrollButton.java 2014-01-23 22:45:31.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/metal/MetalScrollButton.java 2014-01-23 22:45:31.000000000 -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; --- old/src/share/classes/javax/swing/plaf/metal/MetalScrollPaneUI.java 2014-01-23 22:45:31.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/metal/MetalScrollPaneUI.java 2014-01-23 22:45:31.000000000 -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 { --- old/src/share/classes/javax/swing/plaf/metal/MetalSeparatorUI.java 2014-01-23 22:45:32.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/metal/MetalSeparatorUI.java 2014-01-23 22:45:31.000000000 -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 ) --- old/src/share/classes/javax/swing/plaf/metal/MetalSliderUI.java 2014-01-23 22:45:32.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/metal/MetalSliderUI.java 2014-01-23 22:45:32.000000000 -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; --- old/src/share/classes/javax/swing/plaf/metal/MetalSplitPaneDivider.java 2014-01-23 22:45:33.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/metal/MetalSplitPaneDivider.java 2014-01-23 22:45:32.000000000 -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, --- old/src/share/classes/javax/swing/plaf/metal/MetalSplitPaneUI.java 2014-01-23 22:45:33.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/metal/MetalSplitPaneUI.java 2014-01-23 22:45:33.000000000 -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 { --- old/src/share/classes/javax/swing/plaf/metal/MetalTabbedPaneUI.java 2014-01-23 22:45:33.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/metal/MetalTabbedPaneUI.java 2014-01-23 22:45:33.000000000 -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; --- old/src/share/classes/javax/swing/plaf/metal/MetalTextFieldUI.java 2014-01-23 22:45:34.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/metal/MetalTextFieldUI.java 2014-01-23 22:45:34.000000000 -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) { --- old/src/share/classes/javax/swing/plaf/metal/MetalToggleButtonUI.java 2014-01-23 22:45:34.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/metal/MetalToggleButtonUI.java 2014-01-23 22:45:34.000000000 -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(); --- old/src/share/classes/javax/swing/plaf/metal/MetalToolTipUI.java 2014-01-23 22:45:35.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/metal/MetalToolTipUI.java 2014-01-23 22:45:35.000000000 -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(); --- old/src/share/classes/javax/swing/plaf/multi/MultiLookAndFeel.java 2014-01-23 22:45:35.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/multi/MultiLookAndFeel.java 2014-01-23 22:45:35.000000000 -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 { ////////////////////////////// --- old/src/share/classes/javax/swing/plaf/synth/SynthTextAreaUI.java 2014-01-23 22:45:36.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/synth/SynthTextAreaUI.java 2014-01-23 22:45:36.000000000 -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; --- old/src/share/classes/javax/swing/plaf/synth/SynthTextFieldUI.java 2014-01-23 22:45:36.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/synth/SynthTextFieldUI.java 2014-01-23 22:45:36.000000000 -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; --- old/src/share/classes/javax/swing/plaf/synth/SynthTextPaneUI.java 2014-01-23 22:45:37.000000000 -0800 +++ new/src/share/classes/javax/swing/plaf/synth/SynthTextPaneUI.java 2014-01-23 22:45:37.000000000 -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 { /** --- old/src/share/classes/javax/swing/table/AbstractTableModel.java 2014-01-23 22:45:37.000000000 -0800 +++ new/src/share/classes/javax/swing/table/AbstractTableModel.java 2014-01-23 22:45:37.000000000 -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 { // --- old/src/share/classes/javax/swing/table/DefaultTableCellRenderer.java 2014-01-23 22:45:38.000000000 -0800 +++ new/src/share/classes/javax/swing/table/DefaultTableCellRenderer.java 2014-01-23 22:45:38.000000000 -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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only public static class UIResource extends DefaultTableCellRenderer implements javax.swing.plaf.UIResource { --- old/src/share/classes/javax/swing/table/DefaultTableColumnModel.java 2014-01-23 22:45:38.000000000 -0800 +++ new/src/share/classes/javax/swing/table/DefaultTableColumnModel.java 2014-01-23 22:45:38.000000000 -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 { --- old/src/share/classes/javax/swing/table/DefaultTableModel.java 2014-01-23 22:45:39.000000000 -0800 +++ new/src/share/classes/javax/swing/table/DefaultTableModel.java 2014-01-23 22:45:39.000000000 -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 { // --- old/src/share/classes/javax/swing/table/JTableHeader.java 2014-01-23 22:45:40.000000000 -0800 +++ new/src/share/classes/javax/swing/table/JTableHeader.java 2014-01-23 22:45:39.000000000 -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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only protected class AccessibleJTableHeader extends AccessibleJComponent { /** --- old/src/share/classes/javax/swing/table/TableColumn.java 2014-01-23 22:45:40.000000000 -0800 +++ new/src/share/classes/javax/swing/table/TableColumn.java 2014-01-23 22:45:40.000000000 -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 { /** --- old/src/share/classes/javax/swing/text/AbstractDocument.java 2014-01-23 22:45:41.000000000 -0800 +++ new/src/share/classes/javax/swing/text/AbstractDocument.java 2014-01-23 22:45:40.000000000 -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 java.beans 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 java.beans 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 { /** --- old/src/share/classes/javax/swing/text/DateFormatter.java 2014-01-23 22:45:41.000000000 -0800 +++ new/src/share/classes/javax/swing/text/DateFormatter.java 2014-01-23 22:45:41.000000000 -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 --- old/src/share/classes/javax/swing/text/DefaultCaret.java 2014-01-23 22:45:42.000000000 -0800 +++ new/src/share/classes/javax/swing/text/DefaultCaret.java 2014-01-23 22:45:41.000000000 -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 { /** --- old/src/share/classes/javax/swing/text/DefaultEditorKit.java 2014-01-23 22:45:42.000000000 -0800 +++ new/src/share/classes/javax/swing/text/DefaultEditorKit.java 2014-01-23 22:45:42.000000000 -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. */ --- old/src/share/classes/javax/swing/text/DefaultFormatter.java 2014-01-23 22:45:43.000000000 -0800 +++ new/src/share/classes/javax/swing/text/DefaultFormatter.java 2014-01-23 22:45:42.000000000 -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. */ --- old/src/share/classes/javax/swing/text/DefaultFormatterFactory.java 2014-01-23 22:45:43.000000000 -0800 +++ new/src/share/classes/javax/swing/text/DefaultFormatterFactory.java 2014-01-23 22:45:43.000000000 -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 AbstractFormatter to use if a more specific one has --- old/src/share/classes/javax/swing/text/DefaultStyledDocument.java 2014-01-23 22:45:44.000000000 -0800 +++ new/src/share/classes/javax/swing/text/DefaultStyledDocument.java 2014-01-23 22:45:43.000000000 -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 java.beans 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 java.beans 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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only public class ElementBuffer implements Serializable { /** --- old/src/share/classes/javax/swing/text/InternationalFormatter.java 2014-01-23 22:45:45.000000000 -0800 +++ new/src/share/classes/javax/swing/text/InternationalFormatter.java 2014-01-23 22:45:45.000000000 -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 getFields. --- old/src/share/classes/javax/swing/text/JTextComponent.java 2014-01-23 22:45:45.000000000 -0800 +++ new/src/share/classes/javax/swing/text/JTextComponent.java 2014-01-23 22:45:45.000000000 -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 java.beans 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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only public class AccessibleJTextComponent extends AccessibleJComponent implements AccessibleText, CaretListener, DocumentListener, AccessibleAction, AccessibleEditableText, --- old/src/share/classes/javax/swing/text/MaskFormatter.java 2014-01-23 22:45:46.000000000 -0800 +++ new/src/share/classes/javax/swing/text/MaskFormatter.java 2014-01-23 22:45:46.000000000 -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 = '#'; --- old/src/share/classes/javax/swing/text/NumberFormatter.java 2014-01-23 22:45:47.000000000 -0800 +++ new/src/share/classes/javax/swing/text/NumberFormatter.java 2014-01-23 22:45:46.000000000 -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; --- old/src/share/classes/javax/swing/text/PlainDocument.java 2014-01-23 22:45:47.000000000 -0800 +++ new/src/share/classes/javax/swing/text/PlainDocument.java 2014-01-23 22:45:47.000000000 -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 { /** --- old/src/share/classes/javax/swing/text/SimpleAttributeSet.java 2014-01-23 22:45:48.000000000 -0800 +++ new/src/share/classes/javax/swing/text/SimpleAttributeSet.java 2014-01-23 22:45:47.000000000 -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; --- old/src/share/classes/javax/swing/text/StringContent.java 2014-01-23 22:45:48.000000000 -0800 +++ new/src/share/classes/javax/swing/text/StringContent.java 2014-01-23 22:45:48.000000000 -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 { /** --- old/src/share/classes/javax/swing/text/StyleContext.java 2014-01-23 22:45:48.000000000 -0800 +++ new/src/share/classes/javax/swing/text/StyleContext.java 2014-01-23 22:45:48.000000000 -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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only public class NamedStyle implements Style, Serializable { /** --- old/src/share/classes/javax/swing/text/StyledEditorKit.java 2014-01-23 22:45:49.000000000 -0800 +++ new/src/share/classes/javax/swing/text/StyledEditorKit.java 2014-01-23 22:45:49.000000000 -0800 @@ -375,6 +375,7 @@ * has been added to the java.beans 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 java.beans 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 java.beans 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 java.beans 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 java.beans 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 java.beans 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 java.beans 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 java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") // Same-version serialization only public static class UnderlineAction extends StyledTextAction { /** --- old/src/share/classes/javax/swing/text/TabSet.java 2014-01-23 22:45:51.000000000 -0800 +++ new/src/share/classes/javax/swing/text/TabSet.java 2014-01-23 22:45:51.000000000 -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. */ --- old/src/share/classes/javax/swing/text/TabStop.java 2014-01-23 22:45:51.000000000 -0800 +++ new/src/share/classes/javax/swing/text/TabStop.java 2014-01-23 22:45:51.000000000 -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. */ --- old/src/share/classes/javax/swing/text/TextAction.java 2014-01-23 22:45:52.000000000 -0800 +++ new/src/share/classes/javax/swing/text/TextAction.java 2014-01-23 22:45:52.000000000 -0800 @@ -58,6 +58,7 @@ * * @author Timothy Prinzing */ +@SuppressWarnings("serial") // Same-version serialization only public abstract class TextAction extends AbstractAction { /** --- old/src/share/classes/javax/swing/text/html/HTMLDocument.java 2014-01-23 22:45:52.000000000 -0800 +++ new/src/share/classes/javax/swing/text/html/HTMLDocument.java 2014-01-23 22:45:52.000000000 -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 --- old/src/share/classes/javax/swing/text/html/Option.java 2014-01-23 22:45:53.000000000 -0800 +++ new/src/share/classes/javax/swing/text/html/Option.java 2014-01-23 22:45:53.000000000 -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 { /** --- old/src/share/classes/javax/swing/tree/AbstractLayoutCache.java 2014-01-23 22:45:53.000000000 -0800 +++ new/src/share/classes/javax/swing/tree/AbstractLayoutCache.java 2014-01-23 22:45:53.000000000 -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; --- old/src/share/classes/javax/swing/tree/DefaultMutableTreeNode.java 2014-01-23 22:45:54.000000000 -0800 +++ new/src/share/classes/javax/swing/tree/DefaultMutableTreeNode.java 2014-01-23 22:45:54.000000000 -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 { --- old/src/share/classes/javax/swing/tree/DefaultTreeCellEditor.java 2014-01-23 22:45:54.000000000 -0800 +++ new/src/share/classes/javax/swing/tree/DefaultTreeCellEditor.java 2014-01-23 22:45:54.000000000 -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. */ --- old/src/share/classes/javax/swing/tree/DefaultTreeCellRenderer.java 2014-01-23 22:45:55.000000000 -0800 +++ new/src/share/classes/javax/swing/tree/DefaultTreeCellRenderer.java 2014-01-23 22:45:55.000000000 -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. */ --- old/src/share/classes/javax/swing/tree/DefaultTreeModel.java 2014-01-23 22:45:56.000000000 -0800 +++ new/src/share/classes/javax/swing/tree/DefaultTreeModel.java 2014-01-23 22:45:55.000000000 -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; --- old/src/share/classes/javax/swing/tree/DefaultTreeSelectionModel.java 2014-01-23 22:45:56.000000000 -0800 +++ new/src/share/classes/javax/swing/tree/DefaultTreeSelectionModel.java 2014-01-23 22:45:56.000000000 -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 --- old/src/share/classes/javax/swing/tree/FixedHeightLayoutCache.java 2014-01-23 22:45:57.000000000 -0800 +++ new/src/share/classes/javax/swing/tree/FixedHeightLayoutCache.java 2014-01-23 22:45:57.000000000 -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; --- old/src/share/classes/javax/swing/tree/TreePath.java 2014-01-23 22:45:57.000000000 -0800 +++ new/src/share/classes/javax/swing/tree/TreePath.java 2014-01-23 22:45:57.000000000 -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. */ --- old/src/share/classes/javax/swing/tree/VariableHeightLayoutCache.java 2014-01-23 22:45:58.000000000 -0800 +++ new/src/share/classes/javax/swing/tree/VariableHeightLayoutCache.java 2014-01-23 22:45:57.000000000 -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 --- old/src/share/classes/javax/swing/undo/CannotRedoException.java 2014-01-23 22:45:58.000000000 -0800 +++ new/src/share/classes/javax/swing/undo/CannotRedoException.java 2014-01-23 22:45:58.000000000 -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 { } --- old/src/share/classes/javax/swing/undo/CannotUndoException.java 2014-01-23 22:45:59.000000000 -0800 +++ new/src/share/classes/javax/swing/undo/CannotUndoException.java 2014-01-23 22:45:58.000000000 -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 { } --- old/src/share/classes/javax/swing/undo/UndoManager.java 2014-01-23 22:45:59.000000000 -0800 +++ new/src/share/classes/javax/swing/undo/UndoManager.java 2014-01-23 22:45:59.000000000 -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;