-
Bug
-
Resolution: Fixed
-
P3
-
8u25, 9
-
b69
-
x86_64
-
linux_ubuntu
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8098773 | emb-9 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | team |
JDK-8129206 | 8u65 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | b02 |
JDK-8085969 | 8u60 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | b20 |
JDK-8138537 | emb-8u65 | Unassigned | P3 | Resolved | Fixed | b02 |
JDK-8129731 | emb-8u60 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | b20 |
FULL PRODUCT VERSION :
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Linux metacanvas-dev01 3.13.0-49-generic #83-Ubuntu SMP Fri Apr 10 20:11:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
Start interactive nashorn shell with -nse option. Execute anonymous function: (function(){})()
This is standard JavaScript, not a nashorn extension, but it will not compile.
REGRESSION. Last worked in version 8u20
ADDITIONAL REGRESSION INFORMATION:
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Start interactive nashorn shell with -nse option.
Execute anonymous function: (function(){})()
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
jjs -nse
jjs> (function(){})()
jjs>
ACTUAL -
jjs -nse
jjs> (function(){})()
jdk.nashorn.internal.runtime.ParserException: <shell>:1:9 Expected ident but found (
(function(){})()
^
REPRODUCIBILITY :
This bug can be reproduced always.
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Linux metacanvas-dev01 3.13.0-49-generic #83-Ubuntu SMP Fri Apr 10 20:11:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
Start interactive nashorn shell with -nse option. Execute anonymous function: (function(){})()
This is standard JavaScript, not a nashorn extension, but it will not compile.
REGRESSION. Last worked in version 8u20
ADDITIONAL REGRESSION INFORMATION:
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Start interactive nashorn shell with -nse option.
Execute anonymous function: (function(){})()
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
jjs -nse
jjs> (function(){})()
jjs>
ACTUAL -
jjs -nse
jjs> (function(){})()
jdk.nashorn.internal.runtime.ParserException: <shell>:1:9 Expected ident but found (
(function(){})()
^
REPRODUCIBILITY :
This bug can be reproduced always.
- backported by
-
JDK-8085969 Nashorn -nse option causes parse error on anonymous function definition
-
- Resolved
-
-
JDK-8098773 Nashorn -nse option causes parse error on anonymous function definition
-
- Resolved
-
-
JDK-8129206 Nashorn -nse option causes parse error on anonymous function definition
-
- Resolved
-
-
JDK-8129731 Nashorn -nse option causes parse error on anonymous function definition
-
- Resolved
-
-
JDK-8138537 Nashorn -nse option causes parse error on anonymous function definition
-
- Resolved
-