Parser erroneously throws ReferenceError instead of SyntaxError

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: core-libs
    • None

      See JDK-8066238 fix.

      We should really throw syntax error if a block is wrong, not reference error. This was the case before.
      We should also investigate if the parser throws reference errors in any other situations where syntax error is correct.

            Assignee:
            Srinivas Dama (Inactive)
            Reporter:
            Marcus Lagergren
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: