Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-1205

In JShell failing to use a semicolon at line's end is shown as an error but code executes

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 9.0
    • Fix Version/s: 9.0
    • Component/s: java - JShell
    • Labels:
      None
    • Environment:
      Windows 10
      Oracle Java SDK 10.0.2

      Description

      In JShell, writing a line such as:

      int x = 4

      without a semicolon shows a red dot with an error message that a semicolon is required. However once you press enter JShell echoes back the value and the red dot disappears.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              omniprof Kenneth Fogel
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: