-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
5.0
-
generic
-
generic
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