Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6325159

Parsing of html page include a SCRIPT tag will produce random exceptions

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b76
    • CPU:
      generic
    • OS:
      generic

      Description

      J2SE Version (please include all output from java -version flag):
        java version "1.6.0-ea"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b50)
        Java HotSpot(TM) Client VM (build 1.6.0-ea-b50, mixed mode)

      Does this problem occur on J2SE 1.3, 1.4.x or 1.5? Yes / No (pick one)
        Yes

      Bug Description:

        If the a html page include a SCRIPT tag and the content is not hidding
        with a comment then JEditorPane will parse the content of the SCRIPT
        tag. Because all available browsers can handle the SCRIPT tag since
        multiple years, many user does not use the commnet tag inside the
        SCRIPT tag. The parsing of the SCRIPT content will produce random
        exceptions.

        browser works fine with 2 attached html file, but not java.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mknyazevsunw Michael Knyazev (Inactive)
              Reporter:
              tyao Ting-Yun Ingrid Yao (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: