-
Bug
-
Resolution: Won't Fix
-
P3
-
6u13, 7, 7u3, 8
-
generic, x86
-
generic, windows, windows_xp
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2214441 | 7u2 | Unassigned | P4 | Closed | Won't Fix |
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. open the following url with java console open:
http://sqeweb/jsn/users/fred/deployment_ws/reappear/deployment_6_UR_int_ws/deployment/src/plugin/FunctionalTest/FunctionalTest/html/ImageClassCastTest.html
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No exception will be printed in console.
ACTUAL -
The following exception is printed:
java.lang.ClassCastException: sun.plugin.dom.html.HTMLElement cannot be cast to org.w3c.dom.html.HTMLImageElement
at ImageClassCastTest.start(ImageClassCastTest.java:27)
REPRODUCIBILITY :
This bug can be reproduced always.
The applet source code is at:
http://sqeweb/jsn/users/fred/deployment_ws/reappear/deployment_6_UR_int_ws/deployment/src/plugin/FunctionalTest/FunctionalTest/src/ImageClassCastTest.java
1. open the following url with java console open:
http://sqeweb/jsn/users/fred/deployment_ws/reappear/deployment_6_UR_int_ws/deployment/src/plugin/FunctionalTest/FunctionalTest/html/ImageClassCastTest.html
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No exception will be printed in console.
ACTUAL -
The following exception is printed:
java.lang.ClassCastException: sun.plugin.dom.html.HTMLElement cannot be cast to org.w3c.dom.html.HTMLImageElement
at ImageClassCastTest.start(ImageClassCastTest.java:27)
REPRODUCIBILITY :
This bug can be reproduced always.
The applet source code is at:
http://sqeweb/jsn/users/fred/deployment_ws/reappear/deployment_6_UR_int_ws/deployment/src/plugin/FunctionalTest/FunctionalTest/src/ImageClassCastTest.java
- backported by
-
JDK-2214441 Class of element in collection got by HTMLDocument.getImages is HTMLElement, not HTMLImageElement
-
- Closed
-