--- old/src/java.desktop/share/classes/sun/applet/AppletIllegalArgumentException.java 2016-11-17 20:02:18.000000000 +0300 +++ new/src/java.desktop/share/classes/sun/applet/AppletIllegalArgumentException.java 2016-11-17 20:02:17.000000000 +0300 @@ -29,10 +29,14 @@ * An applet security exception. * * @author Arthur van Hoff + * + * @deprecated The Applet API is deprecated. See the + * java.applet package + * documentation for further information. */ @SuppressWarnings("serial") // JDK implementation class -public -class AppletIllegalArgumentException extends IllegalArgumentException { +@Deprecated(since = "9") +public class AppletIllegalArgumentException extends IllegalArgumentException { private String key = null; public AppletIllegalArgumentException(String key) {