-
Bug
-
Resolution: Fixed
-
P3
-
None
-
None
-
b08
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8045086 | 8u25 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | b01 |
JDK-8039099 | 8u20 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | b09 |
JDK-8052486 | emb-8u26 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | b18 |
File: test.js
try {
func()
} catch (e if e instanceof ReferenceError) {
print("Got ReferenceError " + e);
}
jjs --no-syntax-extensions test.js
Expected: syntax error for conditional catch clause
Observed: no syntax error.
try {
func()
} catch (e if e instanceof ReferenceError) {
print("Got ReferenceError " + e);
}
jjs --no-syntax-extensions test.js
Expected: syntax error for conditional catch clause
Observed: no syntax error.
- backported by
-
JDK-8039099 Parser accepts conditional catch clauses even when --no-syntax-extensions / -nse option is passed
-
- Resolved
-
-
JDK-8045086 Parser accepts conditional catch clauses even when --no-syntax-extensions / -nse option is passed
-
- Resolved
-
-
JDK-8052486 Parser accepts conditional catch clauses even when --no-syntax-extensions / -nse option is passed
-
- Resolved
-