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

Align required/found pairs in diagnostics

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 13
    • None
    • tools
    • None
    • b13

    Description

      javac has some diagnostics that list 'required' and 'found' pairs, e.g. of type arguments. It's slightly easier to scan for the differences between those two lists if they're horizontally aligned, but the diagnostics aren't consistent about using horizontal alignment.

      Before:

      ```
          required: {2}\n\
          found: {3}\n\
      ```

      After:

      ```
          required: {2}\n\
          found:    {3}\n\
      ```

      Attachments

        Activity

          People

            cushon Liam Miller-Cushon
            cushon Liam Miller-Cushon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: