diff -r 4efb5b19587b -r 621af0ebf6c4 jdk/src/java.desktop/share/classes/javax/swing/plaf/multi/MultiTextUI.java --- a/jdk/src/java.desktop/share/classes/javax/swing/plaf/multi/MultiTextUI.java Mon Nov 14 09:03:07 2016 -0800 +++ b/jdk/src/java.desktop/share/classes/javax/swing/plaf/multi/MultiTextUI.java Mon Nov 14 09:59:36 2016 -0800 @@ -85,6 +85,7 @@ * the UI obtained from the default LookAndFeel * @since 1.4 */ + @SuppressWarnings("deprecation") public String getToolTipText(JTextComponent a, Point b) { String returnValue = ((TextUI) (uis.elementAt(0))).getToolTipText(a,b);