test/jdk/javax/imageio/AppletResourceTest.java
changeset 54231 e4813eded7cb
parent 47216 71c04702a3d5
--- a/test/jdk/javax/imageio/AppletResourceTest.java	Wed Feb 27 14:30:08 2019 -0800
+++ b/test/jdk/javax/imageio/AppletResourceTest.java	Wed Feb 27 18:46:55 2019 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2018, 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
@@ -24,15 +24,12 @@
 /*
  * @test
  * @bug 4481957
- * @key headful
  * @summary Tests that applet-supplied ImageReader, ImageWriter, and
  *          IIOMetadataFormat implementations do not throw unexpected exceptions
  *          when indirectly attempting to access ResourceBundles
  * @run main AppletResourceTest
- * @run applet AppletResourceTest.html
  */
 
-import java.applet.Applet;
 import java.awt.Rectangle;
 import java.awt.image.BufferedImage;
 import java.io.IOException;
@@ -53,7 +50,7 @@
 
 import org.w3c.dom.Node;
 
-public class AppletResourceTest extends Applet {
+public class AppletResourceTest {
 
     public static void main(String[] argv) {
         new AppletResourceTest().init();