--- old/src/java.desktop/share/classes/sun/applet/AppletViewerPanel.java 2016-10-19 11:53:10.394303426 -0700 +++ new/src/java.desktop/share/classes/sun/applet/AppletViewerPanel.java 2016-10-19 11:53:10.270303422 -0700 @@ -197,6 +197,7 @@ * Get the applet context. For now this is * also implemented by the AppletPanel class. */ + @SuppressWarnings("deprecation") public AppletContext getAppletContext() { return (AppletContext)getParent(); }