Relates :
|
|
Relates :
|
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 //-->
|