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

Pasting Unicode characters into JShell does not work.

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b25

      Backports

        Description

        When one types 'č' into JShell, it works:
        jshell> int č;
        č ==> 0

        But pasting it does not:
        jshell> int �;
        | Error:
        | illegal character: '\ufffd'
        | int �;
        | ^

        Originally reported here:
        https://mail.openjdk.java.net/pipermail/kulla-dev/2021-May/002828.html

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jlahoda Jan Lahoda
                Reporter:
                jlahoda Jan Lahoda
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: