-
Bug
-
Resolution: Unresolved
-
P3
-
26
-
Cause Known
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.
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.
- links to
-
Review(master) openjdk/jdk/25703