--- old/src/java.desktop/share/classes/java/beans/AppletInitializer.java 2016-11-17 20:02:13.000000000 +0300 +++ new/src/java.desktop/share/classes/java/beans/AppletInitializer.java 2016-11-17 20:02:12.000000000 +0300 @@ -30,21 +30,20 @@ import java.beans.beancontext.BeanContext; /** - *

* This interface is designed to work in collusion with java.beans.Beans.instantiate. * The interface is intended to provide mechanism to allow the proper * initialization of JavaBeans that are also Applets, during their * instantiation by java.beans.Beans.instantiate(). - *

* * @see java.beans.Beans#instantiate * * @since 1.2 * + * @deprecated The Applet API is deprecated. See the + * java.applet package + * documentation for further information. */ - - -@SuppressWarnings("deprecation") +@Deprecated(since = "9") public interface AppletInitializer { /** @@ -74,7 +73,6 @@ * @param bCtxt The BeanContext intended for this Applet, or * null. */ - void initialize(Applet newAppletBean, BeanContext bCtxt); /** @@ -86,6 +84,5 @@ * * @param newApplet The newly instantiated JavaBean */ - void activate(Applet newApplet); }