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

Pasting Unicode characters into JShell does not work.

XMLWordPrintable

    • b25

        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

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

                Created:
                Updated:
                Resolved: