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

jshell tool: value printing truncation

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • tools
    • b120
    • Verified

      Printed result values can be distractingly big (multiple lines) or, worst go on indefinitely. Some truncation of values is needed.

      The truncation used for an explicit request for value (giving a variable name) should be different from that for a report on an activity (e.g., assigning a value).

      It is appropriate that these truncation values be set in the same way as other output configuration. So:

          /set truncation <mode> <length> <selector>...

      where <selector> is as in /set format.

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

              Created:
              Updated:
              Resolved: