-
Sub-task
-
Resolution: Fixed
-
P3
-
9
-
b145
-
generic
-
generic
D:\src\jdk9-dev\build\windows-x86_64-normal-server-release\images\jdk\bin>.\jjs
--language=es6
jjs> try { } catch ({foo }) {}
ECMAScript Exception: SyntaxError: <shell>:1:15 Expected ident but found {
try { } catch ({foo }) {}
^
CatchParameter is BindingIdentifier or BindingPattern
See : http://www.ecma-international.org/ecma-262/6.0/#sec-try-statement
--language=es6
jjs> try { } catch ({foo }) {}
ECMAScript Exception: SyntaxError: <shell>:1:15 Expected ident but found {
try { } catch ({foo }) {}
^
CatchParameter is BindingIdentifier or BindingPattern
See : http://www.ecma-international.org/ecma-262/6.0/#sec-try-statement