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

javadoc handles non-ASCII characters incorrectly.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9, 10, 11
    • Fix Version/s: 11
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Introduced In Version:
      9
    • Resolved In Build:
      b14
    • Verification:
      Verified

      Backports

        Description

        From Martin Desruisseaux on javadoc-dev:
        Hello

        I noticed a behavioural change of {@code} inline tag with Java 10. In Java versions 5 to 8, text inside {@code} was rendered literally, including Unicode characters outside ASCII range. But in Java 10, Unicode characters are replaced by the "\u" escape sequence. For example:

            {@code foo(…)}

        Was rendered as foo(…) in HTML javadoc generated by Java 8, but is now rendered as foo(\u2026) in javadoc generated by Java 10. Is this behavioural change intentional? I do not see notice about handling of Unicode characters in [1].

            Martin

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jjg Jonathan Gibbons
                  Reporter:
                  jjg Jonathan Gibbons
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: