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

Allow compiler to throw JS errors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8u40
    • Component/s: core-libs
    • Labels:
      None

      Description

      For JDK-8051889 we need to throw SyntaxErrors for cases like duplicate let/const declarations that are naturally detected in the AssignSymbols phase. Currently we only support throwing JS errors from the parser or at runtime. We need to add support for throwing JS errors from compile phases.

        Attachments

          Activity

            People

            Assignee:
            hannesw Hannes Wallnoefer
            Reporter:
            hannesw Hannes Wallnoefer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: