Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
P4
-
Resolution: Won't Fix
-
Affects Version/s: 5.0
-
Fix Version/s: None
-
Component/s: deploy
-
CPU:generic
-
OS:generic
Description
JDK: 1.5.0, 6.0 - all versions
test description:
getAppletContext().getApplet(name) method called in the applet started by AppletViewer by the next command:
"$JAVA" $JAVA_FLAGS -Djava.security.policy="applet.jp" -cp $CLP sun.applet.AppletViewer getApplet.html
Exception message:
java.lang.ClassCastException: java.lang.SecurityManager cannot be cast to sun.applet.AppletSecurity
at sun.applet.AppletViewer.getApplet(AppletViewer.java:407)
at AppletB.start(AppletB.java:18)
at sun.applet.AppletPanel.run(AppletPanel.java:465)
at java.lang.Thread.run(Thread.java:619)
The issue affects the following test case from the Security 5.0 test suite:
headline/typeConfusion
test description:
getAppletContext().getApplet(name) method called in the applet started by AppletViewer by the next command:
"$JAVA" $JAVA_FLAGS -Djava.security.policy="applet.jp" -cp $CLP sun.applet.AppletViewer getApplet.html
Exception message:
java.lang.ClassCastException: java.lang.SecurityManager cannot be cast to sun.applet.AppletSecurity
at sun.applet.AppletViewer.getApplet(AppletViewer.java:407)
at AppletB.start(AppletB.java:18)
at sun.applet.AppletPanel.run(AppletPanel.java:465)
at java.lang.Thread.run(Thread.java:619)
The issue affects the following test case from the Security 5.0 test suite:
headline/typeConfusion