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

JShell: Consistent representation of unicode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • 15
    • 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()).

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

              Created:
              Updated:
              Resolved: