diff -r 96a1a5a9323c -r f0e59c4852de jdk/src/share/classes/javax/swing/JToolTip.java --- a/jdk/src/share/classes/javax/swing/JToolTip.java Tue Dec 13 17:30:21 2011 +0400 +++ b/jdk/src/share/classes/javax/swing/JToolTip.java Tue Dec 13 18:38:39 2011 +0400 @@ -66,6 +66,7 @@ * @author Dave Moore * @author Rich Shiavi */ +@SuppressWarnings("serial") public class JToolTip extends JComponent implements Accessible { /** * @see #getUIClassID @@ -251,6 +252,7 @@ * has been added to the java.beans package. * Please see {@link java.beans.XMLEncoder}. */ + @SuppressWarnings("serial") protected class AccessibleJToolTip extends AccessibleJComponent { /**