-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b56
-
sparc
-
solaris
-
Verified
jdk6.0-ea-b51
load applet http://quarterfinal.prc/demoapplet/testcase/NewApplet.html, by appletviewer.
expected result: exceptions are thrown out:
java.io.FileNotFoundException: http://quarterfinal.prc/demoapplet/testcase/actual/image/mandrill.jpg
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1205)
at java.net.URL.openStream(URL.java:1007)
at sun.plugin.viewer.context.AppletImageFactory$1.run(AppletImageFactory.java:113)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.viewer.context.AppletImageFactory.createImage(AppletImageFactory.java:32)
at sun.plugin.viewer.context.DefaultPluginAppletContext.getImage(DefaultPluginAppletContext.java:109)
at java.applet.Applet.getImage(Applet.java:242)
at java.applet.Applet.getImage(Applet.java:264)
at NewApplet.init(NewApplet.java:35)
at sun.applet.AppletPanel.run(AppletPanel.java:417)
at java.lang.Thread.run(Thread.java:611)
real result: no exception is thrown out.
load this applet by mozilla, the exceptions are in the Java Console.
load applet http://quarterfinal.prc/demoapplet/testcase/NewApplet.html, by appletviewer.
expected result: exceptions are thrown out:
java.io.FileNotFoundException: http://quarterfinal.prc/demoapplet/testcase/actual/image/mandrill.jpg
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1205)
at java.net.URL.openStream(URL.java:1007)
at sun.plugin.viewer.context.AppletImageFactory$1.run(AppletImageFactory.java:113)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.viewer.context.AppletImageFactory.createImage(AppletImageFactory.java:32)
at sun.plugin.viewer.context.DefaultPluginAppletContext.getImage(DefaultPluginAppletContext.java:109)
at java.applet.Applet.getImage(Applet.java:242)
at java.applet.Applet.getImage(Applet.java:264)
at NewApplet.init(NewApplet.java:35)
at sun.applet.AppletPanel.run(AppletPanel.java:417)
at java.lang.Thread.run(Thread.java:611)
real result: no exception is thrown out.
load this applet by mozilla, the exceptions are in the Java Console.