--- old/src/java.desktop/share/classes/sun/applet/AppletSecurity.java 2017-03-27 18:27:15.745582328 -0700 +++ new/src/java.desktop/share/classes/sun/applet/AppletSecurity.java 2017-03-27 18:27:15.537582337 -0700 @@ -109,7 +109,8 @@ /** * get the current (first) instance of an AppletClassLoader on the stack. */ - @SuppressWarnings("deprecation") + @SuppressWarnings({"deprecation", + "removal"}) // SecurityManager.currentClassLoader() private AppletClassLoader currentAppletClassLoader() { // try currentClassLoader first @@ -298,7 +299,8 @@ * @exception SecurityException if the caller does not have * permission to access the AWT event queue. */ - @SuppressWarnings("deprecation") + @SuppressWarnings({"deprecation", + "removal"}) // SecurityManager.checkAwtEventQueueAccess public void checkAwtEventQueueAccess() { AppContext appContext = AppContext.getAppContext(); AppletClassLoader appletClassLoader = currentAppletClassLoader();