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

Nashorn Parser does not recognize const

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 9
    • core-libs

      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      Many Javascript engines recognize const.
      Netbeans (and probably other) software rely on the Nashorn parser, for developers using these Sun derived products to develop specifically for Javascript engines that provide Const functionality.
      This is broken using the Nashorn parser.

      If you're on the fence about supporting const, at least make a command-line switch for it.

      https://netbeans.org/bugzilla/show_bug.cgi?id=226477


      REPRODUCIBILITY :
      This bug can be reproduced always.

            jlaskey Jim Laskey
            coffeys Sean Coffey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: