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

jshell tool: cannot handle non-ascii characters

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b155
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Backports

        Description

        FULL PRODUCT VERSION :
        jdk9 ea b 136

        ADDITIONAL OS VERSION INFORMATION :
        Win 7 64 bit

        A DESCRIPTION OF THE PROBLEM :
        Try to enter a string with German umlauts at the jshell command prompt

        "opü" will be "op?"
        "üöä" will be "???"

        jshell cannot handle these characters. Maybe this problem affects all non-ascii characters?

        Using Linux I can not double-check this problem, because my terminal window cannot handle the umlauts too. A windows shell displays the German umlauts correctly,but the jshell started from there does not.

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        see description

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        shell handles all non-ascii charecters correctly
        ACTUAL -
        jshell replaced German umlaut (maybe all non-ascii characters?) by a question mark

        REPRODUCIBILITY :
        This bug can be reproduced always.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jlahoda Jan Lahoda
                Reporter:
                webbuggrp Webbug Group
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: