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

JShell: Consistent representation of unicode

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 15
    • 16
    • tools
    • None
    • b08
    • generic
    • 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

              rfield Robert Field (Inactive)
              rfield Robert Field (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: