-
Bug
-
Resolution: Fixed
-
P3
-
9
-
None
-
b119
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8163782 | 8u121 | Hannes Wallnoefer | P3 | Resolved | Fixed | b01 |
JDK-8157926 | 8u112 | Hannes Wallnoefer | P3 | Resolved | Fixed | b01 |
JDK-8167949 | emb-8u121 | Hannes Wallnoefer | P3 | Resolved | Fixed | b01 |
This issue was reported in nashorn-dev alias. See http://mail.openjdk.java.net/pipermail/nashorn-dev/2016-May/006125.html
Simplified test case is as follows:
File: t.js
v = function() {
}
/**/ function f() {
}
With both 8u and latest jdk9-dev, we get
t.js:4:5 Expected ; but found function
/**/ function f() {
^
t.js:5:0 Expected eof but found }
}
^
Simplified test case is as follows:
File: t.js
v = function() {
}
/**/ function f() {
}
With both 8u and latest jdk9-dev, we get
t.js:4:5 Expected ; but found function
/**/ function f() {
^
t.js:5:0 Expected eof but found }
}
^
- backported by
-
JDK-8157926 Parsing issue with automatic semicolon insertion
-
- Resolved
-
-
JDK-8163782 Parsing issue with automatic semicolon insertion
-
- Resolved
-
-
JDK-8167949 Parsing issue with automatic semicolon insertion
-
- Resolved
-