--- old/src/macosx/classes/apple/laf/AquaLookAndFeel.java 2014-03-05 12:27:08.000000000 -0800 +++ new/src/macosx/classes/apple/laf/AquaLookAndFeel.java 2014-03-05 12:27:07.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -30,4 +30,5 @@ * "apple.laf.AquaLookAndFeel" is so widely used, documented, * and hard coded that it is impractical to remove it. */ +@SuppressWarnings("serial") // JDK implementation class public class AquaLookAndFeel extends com.apple.laf.AquaLookAndFeel { } --- old/src/macosx/classes/apple/security/AppleProvider.java 2014-03-05 12:27:08.000000000 -0800 +++ new/src/macosx/classes/apple/security/AppleProvider.java 2014-03-05 12:27:08.000000000 -0800 @@ -36,7 +36,7 @@ * * This provider only exists to provide access to the Apple keychain-based KeyStore implementation */ - +@SuppressWarnings("serial") // JDK implementation class public final class AppleProvider extends Provider { private static final String info = "Apple Provider"; --- old/src/macosx/classes/com/apple/eawt/AppEvent.java 2014-03-05 12:27:09.000000000 -0800 +++ new/src/macosx/classes/com/apple/eawt/AppEvent.java 2014-03-05 12:27:08.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -36,6 +36,7 @@ * @since Java for Mac OS X 10.6 Update 3 * @since Java for Mac OS X 10.5 Update 8 */ +@SuppressWarnings("serial") // JDK implementation class public abstract class AppEvent extends EventObject { AppEvent() { super(Application.getApplication()); @@ -44,6 +45,7 @@ /** * Contains a list of files. */ + @SuppressWarnings("serial") // JDK implementation class public abstract static class FilesEvent extends AppEvent { final List files; @@ -64,6 +66,7 @@ * * @see OpenFilesHandler#openFiles(OpenFilesEvent) */ + @SuppressWarnings("serial") // JDK implementation class public static class OpenFilesEvent extends FilesEvent { final String searchTerm; @@ -87,6 +90,7 @@ * * @see PrintFilesHandler#printFiles(PrintFilesEvent) */ + @SuppressWarnings("serial") // JDK implementation class public static class PrintFilesEvent extends FilesEvent { PrintFilesEvent(final List files) { super(files); @@ -98,6 +102,7 @@ * * @see OpenURIHandler#openURI(OpenURIEvent) */ + @SuppressWarnings("serial") // JDK implementation class public static class OpenURIEvent extends AppEvent { final URI uri; @@ -118,6 +123,7 @@ * * @see AboutHandler#handleAbout() */ + @SuppressWarnings("serial") // JDK implementation class public static class AboutEvent extends AppEvent { AboutEvent() { } } /** @@ -125,6 +131,7 @@ * * @see PreferencesHandler#handlePreferences() */ + @SuppressWarnings("serial") // JDK implementation class public static class PreferencesEvent extends AppEvent { PreferencesEvent() { } } /** @@ -132,6 +139,7 @@ * * @see QuitHandler#handleQuitRequestWith(QuitEvent, QuitResponse) */ + @SuppressWarnings("serial") // JDK implementation class public static class QuitEvent extends AppEvent { QuitEvent() { } } /** @@ -139,6 +147,7 @@ * * @see AppReOpenedListener#appReOpened(AppReOpenedEvent) */ + @SuppressWarnings("serial") // JDK implementation class public static class AppReOpenedEvent extends AppEvent { AppReOpenedEvent() { } } /** @@ -147,6 +156,7 @@ * @see AppForegroundListener#appRaisedToForeground(AppForegroundEvent) * @see AppForegroundListener#appMovedToBackground(AppForegroundEvent) */ + @SuppressWarnings("serial") // JDK implementation class public static class AppForegroundEvent extends AppEvent { AppForegroundEvent() { } } /** @@ -155,6 +165,7 @@ * @see AppHiddenListener#appHidden(AppHiddenEvent) * @see AppHiddenListener#appUnhidden(AppHiddenEvent) */ + @SuppressWarnings("serial") // JDK implementation class public static class AppHiddenEvent extends AppEvent { AppHiddenEvent() { } } /** @@ -163,6 +174,7 @@ * @see UserSessionListener#userSessionActivated(UserSessionEvent) * @see UserSessionListener#userSessionDeactivated(UserSessionEvent) */ + @SuppressWarnings("serial") // JDK implementation class public static class UserSessionEvent extends AppEvent { UserSessionEvent() { } } /** @@ -171,6 +183,7 @@ * @see ScreenSleepListener#screenAboutToSleep(ScreenSleepEvent) * @see ScreenSleepListener#screenAwoke(ScreenSleepEvent) */ + @SuppressWarnings("serial") // JDK implementation class public static class ScreenSleepEvent extends AppEvent { ScreenSleepEvent() { } } /** @@ -179,6 +192,7 @@ * @see SystemSleepListener#systemAboutToSleep(SystemSleepEvent) * @see SystemSleepListener#systemAwoke(SystemSleepEvent) */ + @SuppressWarnings("serial") // JDK implementation class public static class SystemSleepEvent extends AppEvent { SystemSleepEvent() { } } /** @@ -188,6 +202,7 @@ * * @since Java for Mac OS X 10.7 Update 1 */ + @SuppressWarnings("serial") // JDK implementation class public static class FullScreenEvent extends AppEvent { final Window window; --- old/src/macosx/classes/com/apple/eawt/ApplicationEvent.java 2014-03-05 12:27:09.000000000 -0800 +++ new/src/macosx/classes/com/apple/eawt/ApplicationEvent.java 2014-03-05 12:27:09.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -34,6 +34,7 @@ * @since 1.4 */ @Deprecated +@SuppressWarnings("serial") // JDK implementation class public class ApplicationEvent extends EventObject { private String fFilename = null; private boolean fHandled = false; --- old/src/macosx/classes/com/apple/laf/AquaCaret.java 2014-03-05 12:27:10.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaCaret.java 2014-03-05 12:27:09.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -35,6 +35,7 @@ import javax.swing.plaf.UIResource; import javax.swing.text.*; +@SuppressWarnings("serial") // Superclass is not serializable across versions public class AquaCaret extends DefaultCaret implements UIResource, PropertyChangeListener { final boolean isMultiLineEditor; final JTextComponent c; --- old/src/macosx/classes/com/apple/laf/AquaComboBoxButton.java 2014-03-05 12:27:11.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaComboBoxButton.java 2014-03-05 12:27:10.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -33,6 +33,7 @@ import apple.laf.JRSUIState; import apple.laf.JRSUIConstants.*; +@SuppressWarnings("serial") // Superclass is not serializable across versions class AquaComboBoxButton extends JButton { final protected JComboBox comboBox; final protected JList list; @@ -43,6 +44,7 @@ boolean isPopDown; boolean isSquare; + @SuppressWarnings("serial") // anonymous class protected AquaComboBoxButton(final AquaComboBoxUI ui, final JComboBox comboBox, final CellRendererPane rendererPane, final JList list) { super(""); putClientProperty("JButton.buttonType", "comboboxInternal"); --- old/src/macosx/classes/com/apple/laf/AquaComboBoxPopup.java 2014-03-05 12:27:11.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaComboBoxPopup.java 2014-03-05 12:27:11.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -33,6 +33,7 @@ import sun.lwawt.macosx.CPlatformWindow; +@SuppressWarnings("serial") // Superclass is not serializable across versions class AquaComboBoxPopup extends BasicComboPopup { static final int FOCUS_RING_PAD_LEFT = 6; static final int FOCUS_RING_PAD_RIGHT = 6; @@ -147,6 +148,7 @@ } @Override + @SuppressWarnings("serial") // anonymous class protected JList createList() { return new JList(comboBox.getModel()) { @Override --- old/src/macosx/classes/com/apple/laf/AquaComboBoxRenderer.java 2014-03-05 12:27:12.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaComboBoxRenderer.java 2014-03-05 12:27:11.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -28,6 +28,7 @@ import javax.swing.*; import javax.swing.plaf.UIResource; +@SuppressWarnings("serial") // Superclass is not serializable across versions class AquaComboBoxRenderer extends AquaComboBoxRendererInternal implements UIResource { public AquaComboBoxRenderer(final JComboBox comboBox) { super(comboBox); --- old/src/macosx/classes/com/apple/laf/AquaComboBoxRendererInternal.java 2014-03-05 12:27:12.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaComboBoxRendererInternal.java 2014-03-05 12:27:12.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -30,6 +30,7 @@ import javax.swing.*; import java.awt.*; +@SuppressWarnings("serial") // Superclass is not serializable across versions class AquaComboBoxRendererInternal extends JLabel implements ListCellRenderer { final JComboBox fComboBox; boolean fSelected; --- old/src/macosx/classes/com/apple/laf/AquaComboBoxUI.java 2014-03-05 12:27:12.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaComboBoxUI.java 2014-03-05 12:27:12.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -202,7 +202,9 @@ } } + @SuppressWarnings("serial") // Superclass is not serializable across versions class AquaCustomComboTextField extends JTextField { + @SuppressWarnings("serial") // anonymous class public AquaCustomComboTextField() { final InputMap inputMap = getInputMap(); inputMap.put(KeyStroke.getKeyStroke("DOWN"), highlightNextAction); @@ -286,6 +288,7 @@ SwingUtilities.replaceUIActionMap(comboBox, actionMap); } + @SuppressWarnings("serial") // Superclass is not serializable across versions private abstract class ComboBoxAction extends AbstractAction { public void actionPerformed(final ActionEvent e) { if (!comboBox.isEnabled() || !comboBox.isShowing()) { @@ -306,6 +309,7 @@ /** * Hilight _but do not select_ the next item in the list. */ + @SuppressWarnings("serial") // anonymous class private Action highlightNextAction = new ComboBoxAction() { @Override public void performComboBoxAction(AquaComboBoxUI ui) { @@ -322,6 +326,7 @@ /** * Hilight _but do not select_ the previous item in the list. */ + @SuppressWarnings("serial") // anonymous class private Action highlightPreviousAction = new ComboBoxAction() { @Override void performComboBoxAction(final AquaComboBoxUI ui) { @@ -334,6 +339,7 @@ } }; + @SuppressWarnings("serial") // anonymous class private Action highlightFirstAction = new ComboBoxAction() { @Override void performComboBoxAction(final AquaComboBoxUI ui) { @@ -342,6 +348,7 @@ } }; + @SuppressWarnings("serial") // anonymous class private Action highlightLastAction = new ComboBoxAction() { @Override void performComboBoxAction(final AquaComboBoxUI ui) { @@ -351,6 +358,7 @@ } }; + @SuppressWarnings("serial") // anonymous class private Action highlightPageUpAction = new ComboBoxAction() { @Override void performComboBoxAction(final AquaComboBoxUI ui) { @@ -371,6 +379,7 @@ } }; + @SuppressWarnings("serial") // anonymous class private Action highlightPageDownAction = new ComboBoxAction() { @Override void performComboBoxAction(final AquaComboBoxUI ui) { @@ -486,12 +495,14 @@ // This is somewhat messy. The difference here from BasicComboBoxUI.EnterAction is that // arrow up or down does not automatically select the + @SuppressWarnings("serial") // anonymous class private static final Action triggerSelectionAction = new AbstractAction() { public void actionPerformed(final ActionEvent e) { triggerSelectionEvent((JComboBox)e.getSource(), e); } }; + @SuppressWarnings("serial") // anonymous class private static final Action toggleSelectionAction = new AbstractAction() { public void actionPerformed(final ActionEvent e) { final JComboBox comboBox = (JComboBox)e.getSource(); @@ -510,6 +521,7 @@ } }; + @SuppressWarnings("serial") // anonymous class private static Action hideAction = new AbstractAction() { @Override public void actionPerformed(final ActionEvent e) { --- old/src/macosx/classes/com/apple/laf/AquaFileChooserUI.java 2014-03-05 12:27:13.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaFileChooserUI.java 2014-03-05 12:27:13.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -857,6 +857,7 @@ // Action to attach to the file list so we can override the default action // of the table for the return key, which is to select the next line. + @SuppressWarnings("serial") // Superclass is not serializable across versions protected class DefaultButtonAction extends AbstractAction { public void actionPerformed(final ActionEvent e) { final JRootPane root = AquaFileChooserUI.this.getFileChooser().getRootPane(); @@ -883,6 +884,7 @@ /** * Creates a new folder. */ + @SuppressWarnings("serial") // Superclass is not serializable across versions protected class NewFolderAction extends AbstractAction { protected NewFolderAction() { super(newFolderAccessibleName); @@ -944,6 +946,7 @@ /** * Responds to an Open, Save, or Choose request */ + @SuppressWarnings("serial") // Superclass is not serializable across versions protected class ApproveSelectionAction extends AbstractAction { public void actionPerformed(final ActionEvent e) { fSubPanel.approveSelection(getFileChooser()); @@ -953,6 +956,7 @@ /** * Responds to an OpenDirectory request */ + @SuppressWarnings("serial") // Superclass is not serializable across versions protected class OpenSelectionAction extends AbstractAction { public void actionPerformed(final ActionEvent e) { final int index = fFileList.getSelectedRow(); @@ -966,6 +970,7 @@ /** * Responds to a cancel request. */ + @SuppressWarnings("serial") // Superclass is not serializable across versions protected class CancelSelectionAction extends AbstractAction { public void actionPerformed(final ActionEvent e) { getFileChooser().cancelSelection(); @@ -979,6 +984,7 @@ /** * Rescans the files in the current directory */ + @SuppressWarnings("serial") // Superclass is not serializable across versions protected class UpdateAction extends AbstractAction { public void actionPerformed(final ActionEvent e) { final JFileChooser fc = getFileChooser(); @@ -1004,6 +1010,7 @@ } // Penultimate superclass is JLabel + @SuppressWarnings("serial") // Superclass is not serializable across versions protected class MacFCTableCellRenderer extends DefaultTableCellRenderer { boolean fIsSelected = false; @@ -1084,6 +1091,7 @@ } + @SuppressWarnings("serial") // Superclass is not serializable across versions protected class FileRenderer extends MacFCTableCellRenderer { public FileRenderer(final Font f) { super(f); @@ -1100,6 +1108,7 @@ } } + @SuppressWarnings("serial") // Superclass is not serializable across versions protected class DateRenderer extends MacFCTableCellRenderer { public DateRenderer(final Font f) { super(f); @@ -1134,6 +1143,7 @@ return new Dimension(Integer.MAX_VALUE, Integer.MAX_VALUE); } + @SuppressWarnings("serial") // anonymous class protected ListCellRenderer createDirectoryComboBoxRenderer(final JFileChooser fc) { return new AquaComboBoxRendererInternal(directoryComboBox) { public Component getListCellRendererComponent(final JList list, final Object value, final int index, final boolean isSelected, final boolean cellHasFocus) { @@ -1162,6 +1172,7 @@ /** * Data model for a type-face selection combo-box. */ + @SuppressWarnings("serial") // Superclass is not serializable across versions protected class DirectoryComboBoxModel extends AbstractListModel implements ComboBoxModel { Vector fDirectories = new Vector(); int topIndex = -1; @@ -1245,6 +1256,7 @@ // // Renderer for Types ComboBox // + @SuppressWarnings("serial") // anonymous class protected ListCellRenderer createFilterComboBoxRenderer() { return new AquaComboBoxRendererInternal(filterComboBox) { public Component getListCellRendererComponent(final JList list, final Object value, final int index, final boolean isSelected, final boolean cellHasFocus) { @@ -1266,6 +1278,7 @@ /** * Data model for a type-face selection combo-box. */ + @SuppressWarnings("serial") // Superclass is not serializable across versions protected class FilterComboBoxModel extends AbstractListModel implements ComboBoxModel, PropertyChangeListener { protected FileFilter[] filters; @@ -1336,6 +1349,7 @@ /** * Acts when FilterComboBox has changed the selected item. */ + @SuppressWarnings("serial") // Superclass is not serializable across versions protected class FilterComboBoxAction extends AbstractAction { protected FilterComboBoxAction() { super("FilterComboBoxAction"); @@ -1349,6 +1363,7 @@ /** * Acts when DirectoryComboBox has changed the selected item. */ + @SuppressWarnings("serial") // Superclass is not serializable across versions protected class DirectoryComboBoxAction extends AbstractAction { protected DirectoryComboBoxAction() { super("DirectoryComboBoxAction"); @@ -1360,6 +1375,7 @@ } // Sorting Table operations + @SuppressWarnings("serial") // Superclass is not serializable across versions class JSortingTableHeader extends JTableHeader { public JSortingTableHeader(final TableColumnModel cm) { super(cm); @@ -1396,6 +1412,7 @@ return label; } + @SuppressWarnings("serial") // Superclass is not serializable across versions class AquaTableCellRenderer extends DefaultTableCellRenderer implements UIResource { public Component getTableCellRendererComponent(final JTable localTable, final Object value, final boolean isSelected, final boolean hasFocus, final int row, final int column) { if (localTable != null) { @@ -1474,6 +1491,7 @@ tPanel.add(labelArea); // separator line + @SuppressWarnings("serial") // anonymous class final JSeparator sep = new JSeparator(){ public Dimension getPreferredSize() { return new Dimension(((JComponent)getParent()).getWidth(), 3); @@ -1761,6 +1779,7 @@ return p; } + @SuppressWarnings("serial") // Superclass is not serializable across versions protected class ScrollPaneCornerPanel extends JPanel { final Border border = UIManager.getBorder("TableHeader.cellBorder"); @@ -2225,6 +2244,7 @@ } // See FileRenderer - documents in Save dialogs draw disabled, so they shouldn't be selected + @SuppressWarnings("serial") // Superclass is not serializable across versions class MacListSelectionModel extends DefaultListSelectionModel { AquaFileSystemModel fModel; @@ -2315,6 +2335,7 @@ // Convenience, to translate from the JList directory view to the Mac-style JTable // & minimize diffs between this and BasicFileChooserUI + @SuppressWarnings("serial") // Superclass is not serializable across versions class JTableExtension extends JTable { public void setSelectedIndex(final int index) { getSelectionModel().setSelectionInterval(index, index); --- old/src/macosx/classes/com/apple/laf/AquaFileSystemModel.java 2014-03-05 12:27:14.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaFileSystemModel.java 2014-03-05 12:27:13.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * 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 @@ * * Some of it came from BasicDirectoryModel */ +@SuppressWarnings("serial") // Superclass is not serializable across versions class AquaFileSystemModel extends AbstractTableModel implements PropertyChangeListener { private final JTable fFileList; private LoadFilesThread loadThread = null; --- old/src/macosx/classes/com/apple/laf/AquaFileView.java 2014-03-05 12:27:14.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaFileView.java 2014-03-05 12:27:14.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -34,6 +34,7 @@ import com.apple.laf.AquaUtils.RecyclableSingleton; +@SuppressWarnings("serial") // JDK implementation class class AquaFileView extends FileView { private static final boolean DEBUG = false; --- old/src/macosx/classes/com/apple/laf/AquaFonts.java 2014-03-05 12:27:15.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaFonts.java 2014-03-05 12:27:14.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -34,6 +34,7 @@ import com.apple.laf.AquaUtils.RecyclableSingleton; +@SuppressWarnings("serial") // JDK implementation class public class AquaFonts { private static final String MAC_DEFAULT_FONT_NAME = "Lucida Grande"; --- old/src/macosx/classes/com/apple/laf/AquaImageFactory.java 2014-03-05 12:27:15.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaImageFactory.java 2014-03-05 12:27:15.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -247,6 +247,7 @@ } } + @SuppressWarnings("serial") // Superclass is not serializable across versions static class InvertableImageIcon extends ImageIcon implements InvertableIcon, UIResource { Icon invertedImage; public InvertableImageIcon(final Image image) { @@ -463,6 +464,7 @@ // when we use SystemColors, we need to proxy the color with something that implements UIResource, // so that it will be uninstalled when the look and feel is changed. + @SuppressWarnings("serial") // JDK implementation class private static class SystemColorProxy extends Color implements UIResource { final Color color; public SystemColorProxy(final Color color) { --- old/src/macosx/classes/com/apple/laf/AquaInternalFrameDockIconUI.java 2014-03-05 12:27:16.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaInternalFrameDockIconUI.java 2014-03-05 12:27:15.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -167,6 +167,7 @@ fFrame.putClientProperty(CACHED_FRAME_ICON_KEY, null); } + @SuppressWarnings("serial") // Superclass is not serializable across versions class ScaledImageLabel extends JLabel { ScaledImageLabel() { super(null, null, CENTER); @@ -226,6 +227,7 @@ } } + @SuppressWarnings("serial") // Superclass is not serializable across versions class DockLabel extends JLabel { final static int NUB_HEIGHT = 7; final static int ROUND_ADDITIONAL_HEIGHT = 8; --- old/src/macosx/classes/com/apple/laf/AquaInternalFrameManager.java 2014-03-05 12:27:16.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaInternalFrameManager.java 2014-03-05 12:27:16.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * 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 @@ * * @see com.sun.java.swing.plaf.windows.WindowsDesktopManager */ +@SuppressWarnings("serial") // JDK implementation class public class AquaInternalFrameManager extends DefaultDesktopManager { // Variables --- old/src/macosx/classes/com/apple/laf/AquaInternalFramePaneUI.java 2014-03-05 12:27:17.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaInternalFramePaneUI.java 2014-03-05 12:27:16.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -116,6 +116,7 @@ } } + @SuppressWarnings("serial") // Superclass is not serializable across versions class Dock extends JComponent implements Border { static final int DOCK_EDGE_SLACK = 8; @@ -185,6 +186,7 @@ } } + @SuppressWarnings("serial") // JDK implementation class class AquaDockingDesktopManager extends AquaInternalFrameManager { public void openFrame(final JInternalFrame f) { final JInternalFrame.JDesktopIcon desktopIcon = f.getDesktopIcon(); --- old/src/macosx/classes/com/apple/laf/AquaInternalFrameUI.java 2014-03-05 12:27:17.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaInternalFrameUI.java 2014-03-05 12:27:17.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -753,6 +753,7 @@ } }; + @SuppressWarnings("serial") // Superclass is not serializable across versions static class CompoundUIBorder extends CompoundBorder implements UIResource { public CompoundUIBorder(final Border inside, final Border outside) { super(inside, outside); } } @@ -796,6 +797,7 @@ } }; + @SuppressWarnings("serial") // Superclass is not serializable across versions class ResizeBox extends JLabel implements MouseListener, MouseMotionListener, MouseWheelListener, ComponentListener, PropertyChangeListener, UIResource { final JLayeredPane layeredPane; Dimension originalSize; --- old/src/macosx/classes/com/apple/laf/AquaKeyBindings.java 2014-03-05 12:27:18.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaKeyBindings.java 2014-03-05 12:27:17.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -528,6 +528,7 @@ } // extracted and adapted from DefaultEditorKit in 1.6 + @SuppressWarnings("serial") // Superclass is not serializable across versions static abstract class DeleteWordAction extends TextAction { public DeleteWordAction(final String name) { super(name); } @@ -565,6 +566,7 @@ final TextAction pageUpMultilineAction = new AquaMultilineAction(pageUpMultiline, DefaultEditorKit.pageUpAction, DefaultEditorKit.beginAction); final TextAction pageDownMultilineAction = new AquaMultilineAction(pageDownMultiline, DefaultEditorKit.pageDownAction, DefaultEditorKit.endAction); + @SuppressWarnings("serial") // Superclass is not serializable across versions static class AquaMultilineAction extends TextAction { final String targetActionName; final String proxyActionName; --- old/src/macosx/classes/com/apple/laf/AquaListUI.java 2014-03-05 12:27:19.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaListUI.java 2014-03-05 12:27:18.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -67,6 +67,7 @@ list.getActionMap().put("aquaEnd", new AquaHomeEndAction(false)); } + @SuppressWarnings("serial") // Superclass is not serializable across versions static class AquaHomeEndAction extends AbstractAction { private boolean fHomeAction = false; --- old/src/macosx/classes/com/apple/laf/AquaLookAndFeel.java 2014-03-05 12:27:20.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaLookAndFeel.java 2014-03-05 12:27:20.000000000 -0800 @@ -37,6 +37,7 @@ import sun.swing.*; import apple.laf.*; +@SuppressWarnings("serial") // Superclass is not serializable across versions public class AquaLookAndFeel extends BasicLookAndFeel { static final String sOldPropertyPrefix = "com.apple.macos."; // old prefix for things like 'useScreenMenuBar' static final String sPropertyPrefix = "apple.laf."; // new prefix for things like 'useScreenMenuBar' --- old/src/macosx/classes/com/apple/laf/AquaNativeResources.java 2014-03-05 12:27:20.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaNativeResources.java 2014-03-05 12:27:20.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * 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 @@ } // TODO: removing CColorPaint for now + @SuppressWarnings("serial") // JDK implementation class static class CColorPaintUIResource extends Color/*CColorPaint*/ implements UIResource { // The color passed to this MUST be a retained NSColor, and the CColorPaintUIResource // takes ownership of that retain. --- old/src/macosx/classes/com/apple/laf/AquaSpinnerUI.java 2014-03-05 12:27:21.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaSpinnerUI.java 2014-03-05 12:27:21.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -188,6 +188,7 @@ return spinner.getEditor().getBaselineResizeBehavior(); } + @SuppressWarnings("serial") // Superclass is not serializable across versions class TransparentButton extends JButton implements SwingConstants { boolean interceptRepaints = false; @@ -293,6 +294,7 @@ return map; } + @SuppressWarnings("serial") // Superclass is not serializable across versions private static class ArrowButtonHandler extends AbstractAction implements MouseListener { final javax.swing.Timer autoRepeatTimer; final boolean isNext; @@ -461,6 +463,7 @@ } } + @SuppressWarnings("serial") // Superclass is not serializable across versions class SpinPainter extends JComponent { final AquaPainter painter = AquaPainter.create(JRSUIStateFactory.getSpinnerArrows()); --- old/src/macosx/classes/com/apple/laf/AquaSplitPaneDividerUI.java 2014-03-05 12:27:21.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaSplitPaneDividerUI.java 2014-03-05 12:27:21.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * 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 @@ import com.apple.laf.AquaUtils.RecyclableSingleton; import com.apple.laf.AquaUtils.RecyclableSingletonFromDefaultConstructor; +@SuppressWarnings("serial") // Superclass is not serializable across versions public class AquaSplitPaneDividerUI extends BasicSplitPaneDivider { final AquaPainter painter = AquaPainter.create(JRSUIStateFactory.getSplitPaneDivider()); --- old/src/macosx/classes/com/apple/laf/AquaTabbedPaneCopyFromBasicUI.java 2014-03-05 12:27:22.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaTabbedPaneCopyFromBasicUI.java 2014-03-05 12:27:22.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -3237,6 +3237,7 @@ } + @SuppressWarnings("serial") // Superclass is not serializable across versions private class ScrollableTabViewport extends JViewport implements UIResource { public ScrollableTabViewport() { super(); @@ -3251,6 +3252,7 @@ } } + @SuppressWarnings("serial") // Superclass is not serializable across versions private class ScrollableTabPanel extends JPanel implements UIResource { public ScrollableTabPanel() { super(null); @@ -3281,6 +3283,7 @@ } } + @SuppressWarnings("serial") // Superclass is not serializable across versions private class ScrollableTabButton extends javax.swing.plaf.basic.BasicArrowButton implements UIResource, SwingConstants { public ScrollableTabButton(final int direction) { super(direction, UIManager.getColor("TabbedPane.selected"), UIManager.getColor("TabbedPane.shadow"), UIManager.getColor("TabbedPane.darkShadow"), UIManager.getColor("TabbedPane.highlight")); @@ -3585,6 +3588,7 @@ return htmlViews; } + @SuppressWarnings("serial") // Superclass is not serializable across versions private class TabContainer extends JPanel implements UIResource { private boolean notifyTabbedPane = true; @@ -3629,6 +3633,7 @@ } } + @SuppressWarnings("serial") // Superclass is not serializable across versions private class CroppedEdge extends JPanel implements UIResource { private Shape shape; private int tabIndex; @@ -3708,6 +3713,7 @@ * @version 1.6, 11/17/05 * @author Scott Violet */ + @SuppressWarnings("serial") // Superclass is not serializable across versions static class LazyActionMap extends ActionMapUIResource { /** * Object to invoke loadActionMap on. This may be --- old/src/macosx/classes/com/apple/laf/AquaTabbedPaneUI.java 2014-03-05 12:27:22.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaTabbedPaneUI.java 2014-03-05 12:27:22.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -987,7 +987,8 @@ if (component == null) { menuItem = new JMenuItem(tabPane.getTitleAt(i), tabPane.getIconAt(i)); } else { - menuItem = new JMenuItem() { + @SuppressWarnings("serial") // anonymous class + JMenuItem tmp = new JMenuItem() { public void paintComponent(final Graphics g) { super.paintComponent(g); final Dimension size = component.getSize(); @@ -1001,6 +1002,7 @@ return component.getPreferredSize(); } }; + menuItem = tmp; } final Color background = tabPane.getBackgroundAt(i); --- old/src/macosx/classes/com/apple/laf/AquaTableHeaderBorder.java 2014-03-05 12:27:23.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaTableHeaderBorder.java 2014-03-05 12:27:23.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -36,6 +36,7 @@ import com.apple.laf.AquaUtils.RecyclableSingleton; +@SuppressWarnings("serial") // Superclass is not serializable across versions public class AquaTableHeaderBorder extends AbstractBorder { protected static final int SORT_NONE = 0; protected static final int SORT_ASCENDING = 1; --- old/src/macosx/classes/com/apple/laf/AquaTableHeaderUI.java 2014-03-05 12:27:23.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaTableHeaderUI.java 2014-03-05 12:27:23.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -111,6 +111,7 @@ tableColumn.setHeaderRenderer(renderer); } + @SuppressWarnings("serial") // Superclass is not serializable across versions class AquaTableCellRenderer extends DefaultTableCellRenderer implements UIResource { public Component getTableCellRendererComponent(final JTable localTable, final Object value, final boolean isSelected, final boolean hasFocus, final int row, final int column) { if (localTable != null) { --- old/src/macosx/classes/com/apple/laf/AquaTextFieldSearch.java 2014-03-05 12:27:25.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaTextFieldSearch.java 2014-03-05 12:27:24.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -249,6 +249,7 @@ label.setText(promptText); } + @SuppressWarnings("serial") // anonymous class inside protected static JButton getCancelButton(final JTextComponent c) { final JButton b = createButton(c, getCancelIcon()); b.setName("cancel"); @@ -325,6 +326,7 @@ } protected boolean doingLayout; + @SuppressWarnings("serial") // anonymous class inside protected LayoutManager getCustomLayout() { // unfortunately, the default behavior of BorderLayout, which accommodates for margins // is not what we want, so we "turn off margins" for layout for layout out our buttons --- old/src/macosx/classes/com/apple/laf/AquaToolBarUI.java 2014-03-05 12:27:25.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaToolBarUI.java 2014-03-05 12:27:25.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * 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 @@ } /* ToolBarBorder and drag-off handle, based loosly on MetalBumps */ + @SuppressWarnings("serial") // Superclass is not serializable across versions static class ToolBarBorder extends AbstractBorder implements UIResource, javax.swing.SwingConstants { protected void fillHandle(final Graphics g, final int x1, final int y1, final int x2, final int y2, final boolean horizontal) { g.setColor(UIManager.getColor("ToolBar.borderHandleColor")); --- old/src/macosx/classes/com/apple/laf/AquaTreeUI.java 2014-03-05 12:27:26.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/AquaTreeUI.java 2014-03-05 12:27:25.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -493,6 +493,7 @@ tree.getActionMap().put("aquaFullyCollapseNode", new KeyboardExpandCollapseAction(false, true)); } + @SuppressWarnings("serial") // Superclass is not serializable across versions class KeyboardExpandCollapseAction extends AbstractAction { /** * Determines direction to traverse, 1 means expand, -1 means collapse. --- old/src/macosx/classes/com/apple/laf/ScreenMenu.java 2014-03-05 12:27:26.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/ScreenMenu.java 2014-03-05 12:27:26.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -36,6 +36,7 @@ import sun.lwawt.LWToolkit; import sun.lwawt.macosx.*; +@SuppressWarnings("serial") // JDK implementation class final class ScreenMenu extends Menu implements ContainerListener, ComponentListener, ScreenMenuPropertyHandler { --- old/src/macosx/classes/com/apple/laf/ScreenMenuBar.java 2014-03-05 12:27:26.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/ScreenMenuBar.java 2014-03-05 12:27:26.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -33,6 +33,7 @@ import javax.swing.*; +@SuppressWarnings("serial") // JDK implementation class public class ScreenMenuBar extends MenuBar implements ContainerListener, ScreenMenuPropertyHandler, ComponentListener { static boolean sJMenuBarHasHelpMenus = false; //$ could check by calling getHelpMenu in a try block --- old/src/macosx/classes/com/apple/laf/ScreenMenuItem.java 2014-03-05 12:27:27.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/ScreenMenuItem.java 2014-03-05 12:27:27.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -34,6 +34,7 @@ import sun.lwawt.macosx.CMenuItem; +@SuppressWarnings("serial") // JDK implementation class final class ScreenMenuItem extends MenuItem implements ActionListener, ComponentListener, ScreenMenuPropertyHandler { ScreenMenuPropertyListener fListener; JMenuItem fMenuItem; --- old/src/macosx/classes/com/apple/laf/ScreenMenuItemCheckbox.java 2014-03-05 12:27:27.000000000 -0800 +++ new/src/macosx/classes/com/apple/laf/ScreenMenuItemCheckbox.java 2014-03-05 12:27:27.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -36,6 +36,7 @@ import sun.lwawt.macosx.*; +@SuppressWarnings("serial") // JDK implementation class final class ScreenMenuItemCheckbox extends CheckboxMenuItem implements ActionListener, ComponentListener, ScreenMenuPropertyHandler, ItemListener { JMenuItem fMenuItem; MenuContainer fParent; --- old/src/macosx/classes/sun/lwawt/macosx/CCustomCursor.java 2014-03-05 12:27:28.000000000 -0800 +++ new/src/macosx/classes/sun/lwawt/macosx/CCustomCursor.java 2014-03-05 12:27:28.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -28,6 +28,7 @@ import java.awt.*; import java.awt.image.BufferedImage; +@SuppressWarnings("serial") // JDK implementation class public class CCustomCursor extends Cursor { static Dimension sMaxCursorSize; static Dimension getMaxCursorSize() { --- old/src/macosx/classes/sun/lwawt/macosx/CEmbeddedFrame.java 2014-03-05 12:27:28.000000000 -0800 +++ new/src/macosx/classes/sun/lwawt/macosx/CEmbeddedFrame.java 2014-03-05 12:27:28.000000000 -0800 @@ -33,6 +33,7 @@ import sun.awt.EmbeddedFrame; import sun.lwawt.LWWindowPeer; +@SuppressWarnings("serial") // JDK implementation class public class CEmbeddedFrame extends EmbeddedFrame { private CPlatformResponder responder; --- old/src/macosx/classes/sun/lwawt/macosx/CMouseDragGestureRecognizer.java 2014-03-05 12:27:29.000000000 -0800 +++ new/src/macosx/classes/sun/lwawt/macosx/CMouseDragGestureRecognizer.java 2014-03-05 12:27:28.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -32,7 +32,7 @@ import sun.awt.dnd.SunDragSourceContextPeer; - +@SuppressWarnings("serial") // JDK implementation class class CMouseDragGestureRecognizer extends MouseDragGestureRecognizer { // Number of pixels before drag is determined to have started: --- old/src/macosx/classes/sun/lwawt/macosx/CPrinterDialog.java 2014-03-05 12:27:29.000000000 -0800 +++ new/src/macosx/classes/sun/lwawt/macosx/CPrinterDialog.java 2014-03-05 12:27:29.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -27,6 +27,7 @@ import java.awt.*; +@SuppressWarnings("serial") // JDK implementation class public abstract class CPrinterDialog extends Dialog { private final CPrinterJob fPrinterJob; // used from native --- old/src/macosx/classes/sun/lwawt/macosx/CPrinterJobDialog.java 2014-03-05 12:27:30.000000000 -0800 +++ new/src/macosx/classes/sun/lwawt/macosx/CPrinterJobDialog.java 2014-03-05 12:27:30.000000000 -0800 @@ -29,6 +29,7 @@ import java.awt.*; import java.awt.print.*; +@SuppressWarnings("serial") // JDK implementation class final class CPrinterJobDialog extends CPrinterDialog { private Pageable fPageable; private boolean fAllowPrintToFile; --- old/src/macosx/classes/sun/lwawt/macosx/CPrinterPageDialog.java 2014-03-05 12:27:30.000000000 -0800 +++ new/src/macosx/classes/sun/lwawt/macosx/CPrinterPageDialog.java 2014-03-05 12:27:30.000000000 -0800 @@ -29,6 +29,7 @@ import java.awt.*; import java.awt.print.*; +@SuppressWarnings("serial") // JDK implementation class final class CPrinterPageDialog extends CPrinterDialog { private PageFormat fPage; private Printable fPainter; --- old/src/macosx/classes/sun/lwawt/macosx/CViewEmbeddedFrame.java 2014-03-05 12:27:31.000000000 -0800 +++ new/src/macosx/classes/sun/lwawt/macosx/CViewEmbeddedFrame.java 2014-03-05 12:27:31.000000000 -0800 @@ -37,6 +37,7 @@ * The CViewEmbeddedFrame class is used in the SWT_AWT bridge. * This is a part of public API and should not be renamed or moved */ +@SuppressWarnings("serial") // JDK implementation class public class CViewEmbeddedFrame extends EmbeddedFrame { private final long nsViewPtr; --- old/src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java 2014-03-05 12:27:32.000000000 -0800 +++ new/src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java 2014-03-05 12:27:32.000000000 -0800 @@ -51,6 +51,7 @@ import sun.util.CoreResourceBundleControl; +@SuppressWarnings("serial") // JDK implementation class final class NamedCursor extends Cursor { NamedCursor(String name) { super(name); @@ -141,6 +142,7 @@ loadNativeColors(systemColors, appleColors); } +b @SuppressWarnings("serial") // JDK implementation class private static class AppleSpecificColor extends Color { private final int index; AppleSpecificColor(int index) { --- old/src/macosx/classes/sun/lwawt/macosx/NSPrintInfo.java 2014-03-05 12:27:32.000000000 -0800 +++ new/src/macosx/classes/sun/lwawt/macosx/NSPrintInfo.java 2014-03-05 12:27:32.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -29,6 +29,7 @@ import java.io.*; import javax.print.attribute.*; +@SuppressWarnings("serial") // JDK implementation class public final class NSPrintInfo implements PrintJobAttribute, PrintRequestAttribute, Serializable, Cloneable { private long fNSPrintInfo;