-
Bug
-
Resolution: Won't Fix
-
P3
-
6u23
-
x86
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8014936 | 8 | Mikhail Cherkasov | P3 | Resolved | Fixed | b93 |
JDK-2211557 | 6-pool | Alexander Potochkin | P3 | Closed | Won't Fix |
Parsing the following snippet with javax.swing.text.html.parser.ParserDelegator
<script>
<!--
function foo() {
var tag1 = "</script>";
var tag2 = "<div>";
var tag3 = "</div>";
var tag4 = "<script>";
}
// -->
</script>
JDK 6 will break at line
var tag1 = "</script>";
Previous jdk 1.4.2_x and 5.0_x, it will determine the comments correctly and break at
//-->
<script>
<!--
function foo() {
var tag1 = "</script>";
var tag2 = "<div>";
var tag3 = "</div>";
var tag4 = "<script>";
}
// -->
</script>
JDK 6 will break at line
var tag1 = "</script>";
Previous jdk 1.4.2_x and 5.0_x, it will determine the comments correctly and break at
//-->
- backported by
-
JDK-8014936 JDK 6 parses html text with script tags within comments differently from previous releases
-
- Resolved
-
-
JDK-2211557 JDK 6 parses html text with script tags within comments differently from previous releases
-
- Closed
-
- relates to
-
JDK-6325159 Parsing of html page include a SCRIPT tag will produce random exceptions
-
- Resolved
-
-
JDK-8078268 javax.swing.text.html.parser.Parser parseScript incorrectly optimized
-
- Resolved
-