From da75338df2180bdc899747427266407e39cb02ac Mon Sep 17 00:00:00 2001 From: Athijegannathan Sundararajan Date: Sat, 7 May 2016 20:13:47 +0530 Subject: [PATCH] 8156489: jjs tab-completion crashes with stack overflow error Reviewed-by: jlaskey --- .../share/classes/jdk/nashorn/tools/Shell.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/Shell.java b/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/Shell.java index a7bee7c286b..e63d8bba1b2 100644 --- a/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/Shell.java +++ b/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/Shell.java @@ -541,7 +541,7 @@ public class Shell implements PartialParser { @Override protected Expression assignmentExpression(final boolean noIn) { exprStart[0] = this.start; - return super.expression(); + return super.assignmentExpression(noIn); } };