Details
-
Bug
-
Resolution: Fixed
-
P3
-
6u14, 7, 7u3, 8
-
b14
-
generic, x86
-
generic, windows, windows_xp
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8062557 | 9 | Daniil Titov | P3 | Resolved | Fixed | b40 |
JDK-8082384 | emb-9 | Daniil Titov | P3 | Resolved | Fixed | b40 |
JDK-8065427 | 8u45 | Daniil Titov | P3 | Resolved | Fixed | b01 |
JDK-8070557 | emb-8u47 | Daniil Titov | P3 | Resolved | Fixed | team |
JDK-2214451 | 7u2 | Unassigned | P4 | Closed | Won't Fix |
Description
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. open the following url with java console open:
http://sqeweb/jsn/users/fred/deployment_ws/fred/deployment_6_UR_int_ws/deployment/src/plugin/FunctionalTest/FunctionalTest/html/LinkStyleTest1.html
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No exception will be printed in console and string "stylesheet has been got from style element" will be printed.
ACTUAL -
The following exception is printed:
java.lang.ClassCastException: sun.plugin.dom.html.HTMLStyleElement cannot be cast to org.w3c.dom.stylesheets.LinkStyle
at LinkStyleTest1.start(LinkStyleTest1.java:34)
REPRODUCIBILITY :
This bug can be reproduced always.
The applet source code is:
http://sqeweb/jsn/users/fred/deployment_ws/fred/deployment_6_UR_int_ws/deployment/src/plugin/FunctionalTest/FunctionalTest/src/LinkStyleTest1.java
1. open the following url with java console open:
http://sqeweb/jsn/users/fred/deployment_ws/fred/deployment_6_UR_int_ws/deployment/src/plugin/FunctionalTest/FunctionalTest/html/LinkStyleTest1.html
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No exception will be printed in console and string "stylesheet has been got from style element" will be printed.
ACTUAL -
The following exception is printed:
java.lang.ClassCastException: sun.plugin.dom.html.HTMLStyleElement cannot be cast to org.w3c.dom.stylesheets.LinkStyle
at LinkStyleTest1.start(LinkStyleTest1.java:34)
REPRODUCIBILITY :
This bug can be reproduced always.
The applet source code is:
http://sqeweb/jsn/users/fred/deployment_ws/fred/deployment_6_UR_int_ws/deployment/src/plugin/FunctionalTest/FunctionalTest/src/LinkStyleTest1.java
Attachments
Issue Links
- backported by
-
JDK-8062557 HTMLStyleElement can't be cast to LinkStyle
-
- Resolved
-
-
JDK-8065427 HTMLStyleElement can't be cast to LinkStyle
-
- Resolved
-
-
JDK-8070557 HTMLStyleElement can't be cast to LinkStyle
-
- Resolved
-
-
JDK-8082384 HTMLStyleElement can't be cast to LinkStyle
-
- Resolved
-
-
JDK-2214451 HTMLStyleElement can't be cast to LinkStyle
-
- Closed
-