8156489: jjs tab-completion crashes with stack overflow error
authorsundar
Sat, 07 May 2016 20:13:47 +0530
changeset 37834 4767d4afde00
parent 37833 ae7b3314b209
child 37835 78bffb8c47c3
8156489: jjs tab-completion crashes with stack overflow error Reviewed-by: jlaskey
nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/Shell.java
--- a/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/Shell.java	Fri May 06 20:27:20 2016 +0530
+++ b/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/Shell.java	Sat May 07 20:13:47 2016 +0530
@@ -541,7 +541,7 @@
             @Override
             protected Expression assignmentExpression(final boolean noIn) {
                 exprStart[0] = this.start;
-                return super.expression();
+                return super.assignmentExpression(noIn);
             }
         };