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

JShell: Consistent representation of unicode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 16
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b08
    • CPU:
      generic
    • OS:
      generic

      Description

      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()).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rfield Robert Field
              Reporter:
              rfield Robert Field
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: