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

help.retain.mode multiple lines properties broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • tools
    • None

      langtools/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/resources/l10n.properties

      The value for properties key help.retain.mode was broken as missing the '\' for second line.

      Current:
      help.retain.mode = \
      Retain the existence and configuration of a user-defined feedback mode.\n\
      This mode will be available in this and future sessions of the jshell tool.
      \n\t\
      /retain mode <mode>\n\
      \n\
      Where <mode> is the name of a mode you wish to retain.\n\
      The <mode> must previously have been created with /set mode and\n\
      configured as desired with /set prompt, /set format, and /set truncation.\n

      Expect:
      help.retain.mode = \
      Retain the existence and configuration of a user-defined feedback mode.\n\
      This mode will be available in this and future sessions of the jshell tool.\n\t\
      /retain mode <mode>\n\
      \n\
      Where <mode> is the name of a mode you wish to retain.\n\
      The <mode> must previously have been created with /set mode and\n\
      configured as desired with /set prompt, /set format, and /set truncation.\n

      After correction, help.retain.mode has a correct multiple value. Otherwise, the /retain will be recognized as a key.

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

              Created:
              Updated:
              Resolved: