JShell: Consistent representation of unicode

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 16
    • Affects Version/s: 15
    • Component/s: tools
    • None
    • b08
    • generic
    • generic

      Names expressed in Unicode are converted. Which, probably depending on locale, means they may be represented with '?' characters.

      Should input match output? That is,

      jshell> class \u00aa {}
      | created class ?

      jshell> class \u00ba extends \u00aa {}
      | created class ?

      Should this be:

      jshell> class \u00aa {}
      | created class \u00aa

      jshell> class \u00ba extends \u00aa {}
      | created class \u00ba

      There is code in Eval in support of this (userReadableName()).

            Assignee:
            Robert Field (Inactive)
            Reporter:
            Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: