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

String::indent inconsistency with blank lines

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b28
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        There is inconsistency with regards to blank lines and indentation. Adding indent ignores blank lines, but subtraction does not.

        Either the spec should
        - always ignore blank lines
        - always treat blank lines
        - always convert blank lines to empty lines

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jlaskey Jim Laskey
                Reporter:
                jlaskey Jim Laskey
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: