Compiler incorrectly accepts "(i=2);" as a valid expession statement.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • 1.4.0
    • Affects Version/s: 1.3.0, 1.4.0
    • Component/s: tools
    • merlin
    • generic
    • generic, solaris_7
    • Verified

      The JLS prohibits parens at the top level of an expression statement.

            Assignee:
            Neal Gafter (Inactive)
            Reporter:
            Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: