-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
9
-
generic
-
generic
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.
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.
- duplicates
-
JDK-8019962 const is not defined
-
- Closed
-