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

[javadoc] the test framework is not sanitizing the diagnostic output of the test.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P2 P2
    • None
    • 8
    • tools

      The test framework used by javadoc does not sanitize the output, resulting in malformed
      unicode escapes causing jtreg's junit converter to fail.

      parent.document.title="Overview (Testing \\"Window \\'Title\\'\\" with a \\\\ backslash and a / forward slash and a \\u00E8 unicode char also a tab and also a \\t special character another \\u0002 unicode))"; in 8016675/overview-summary.html$
      $
      Running subtest #2... Passed$
      not found:$
      parent.document.title="Overview (Testing "Window 'Title'" with a \\ backslash and a / forward slash and a \u00e8 unicode char also a tab and also a ^I special character another \u0002 unicode))"; in 8016675/overview-summary.html$

      Note in the second case we have a single \ instead of \\.

      Attached is the jtr, in order to test this to make sure that there are no illegal
      characters, run jtreg -xml:verify <all-the-other-usual-options>

            bpatel Bhavesh Patel (Inactive)
            ksrini Kumar Srinivasan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: