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

do while loop that misses ending semicolon has wrong end position

    Details

    • Subcomponent:
    • Resolved In Build:
      b22
    • Verification:
      Verified

      Description

      In code: public void method(int i) { do {} while(--i > 0) }, where the do while loop is missing its ending semi colon, the end position of the do while falls after the ending curly of the method, so the text of the do while comes out as:
      do {} while(--i > 0) }
      instead of
      do {} while(--i > 0)

        Attachments

          Activity

            People

            • Assignee:
              jlahoda Jan Lahoda
              Reporter:
              kbronkho Keimpe Bronkhorst
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: