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

Parser erroneously throws ReferenceError instead of SyntaxError

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 9
    • 9
    • 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.

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

              Created:
              Updated:
              Resolved: