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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 9.0
    • 9.0
    • java - JShell
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: