changeset 1679:f62f25cbd211

8156489: jjs tab-completion crashes with stack overflow error Reviewed-by: jlaskey
author sundar
date Sat, 07 May 2016 20:13:47 +0530
parents 58cac5dc254d
children 05679aac2f7e
files src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/Shell.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/Shell.java	Fri May 06 20:27:20 2016 +0530
+++ b/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);
             }
         };