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

Fix next-line modifier (snippet markup)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 18
    • Fix Version/s: 18
    • Component/s: tools
    • Labels:
      None

      Backports

        Description

        One remnant from the previous design iteration is the current behavior of the next-line modifier `:`. Currently, `:` is allowed on the per-tag as opposed to per-line basis. For example:

        // @tag1 : @tag2
        // @tag1 : @tag2 :
        // @tag1 @tag2 :

        So, currently, *each* tag on a line can apply either to the same line or the next line. However, JEP 413 defines that the `:` modifier should only work on the per-line basis: either all tags apply to the next line or none of them.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                prappo Pavel Rappo
                Reporter:
                prappo Pavel Rappo
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: