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

javadoc handles non-ASCII characters incorrectly.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • 9, 10, 11
    • tools
    • 9
    • b14
    • Verified

        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

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

                Created:
                Updated:
                Resolved: