--- old/src/java.desktop/share/classes/sun/applet/AppletSecurity.java 2014-12-09 10:07:20.149096192 -0800 +++ new/src/java.desktop/share/classes/sun/applet/AppletSecurity.java 2014-12-09 10:07:19.973096184 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1995, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -121,6 +121,7 @@ /** * get the current (first) instance of an AppletClassLoader on the stack. */ + @SuppressWarnings("deprecation") private AppletClassLoader currentAppletClassLoader() { // try currentClassLoader first @@ -308,6 +309,7 @@ * @exception SecurityException if the caller does not have * permission to access the AWT event queue. */ + @SuppressWarnings("deprecation") public void checkAwtEventQueueAccess() { AppContext appContext = AppContext.getAppContext(); AppletClassLoader appletClassLoader = currentAppletClassLoader();