Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8358729

jdk/internal/loader/URLClassPath/ClassnameCharTest.java depends on Applet

XMLWordPrintable

      Previously https://bugs.openjdk.org/browse/JDK-8340326 reported that
       jdk/internal/loader/URLClassPath/ClassnameCharTest.java (amongst other tests) depended on Applet.
      The visible mentions of Applet were removed but it uses testclasses.jar which contains two instances of Applet

      % jar tf testclasses.jar
      META-INF/
      META-INF/MANIFEST.MF
      手册.class
      fo o.class

      % javap fo\ o.class
      Compiled from "fooo.java"
      public class fo o extends java.applet.Applet {
        public fo o();
        public void start();
      }
       % (master) javap æ$'\302\211'$'\302\213'å$'\302\206'$'\302\214'.class
      Compiled from "手册.java"
      public class 手册 extends java.applet.Applet {
        public 手册();
        public void start();
      }

      This test will therefore fail when the Applet API is removed.
      If that happens before this test is updated, the test will need to be problem-listed.

      I'm also a bit surprised that the test has so many uses of java.security APIs.
      They can't be doing anything any more.

            jlu Justin Lu
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: