jdk/src/java.desktop/unix/classes/sun/awt/X11/InfoWindow.java
changeset 28231 b608ffcaed74
parent 25859 3317bb8137f4
child 29922 7b9c1e1532cf
--- a/jdk/src/java.desktop/unix/classes/sun/awt/X11/InfoWindow.java	Mon Dec 15 19:21:00 2014 +0300
+++ b/jdk/src/java.desktop/unix/classes/sun/awt/X11/InfoWindow.java	Mon Dec 15 17:20:17 2014 -0800
@@ -71,6 +71,7 @@
     }
 
     // Must be executed on EDT.
+    @SuppressWarnings("deprecation")
     protected void show(Point corner, int indent) {
         assert SunToolkit.isDispatchThreadForAppContext(this);
 
@@ -98,6 +99,7 @@
         closer.schedule();
     }
 
+    @SuppressWarnings("deprecation")
     public void hide() {
         closer.close();
     }
@@ -125,6 +127,7 @@
         }
 
         // WARNING: this method may be executed on Toolkit thread.
+        @SuppressWarnings("deprecation")
         private void doClose() {
             SunToolkit.executeOnEventHandlerThread(InfoWindow.this, new Runnable() {
                 public void run() {