hg: jdk10/jdk10/nashorn: 8073640: Nashorn scripting: here document with only whitespace gives error
srinivas.dama at oracle.com
srinivas.dama at oracle.com
Thu Aug 31 20:11:46 UTC 2017
Changeset: 545d7d2a70a8
Author: sdama
Date: 2017-09-01 07:07 +0530
URL: http://hg.openjdk.java.net/jdk10/jdk10/nashorn/rev/545d7d2a70a8
8073640: Nashorn scripting: here document with only whitespace gives error
Summary: Added support for handling trailing blank lines in here-doc string parsing
Reviewed-by: hannesw, jlaskey
Contributed-by: srinivas.dama at oracle.com
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Lexer.java
+ test/script/basic/JDK-8073640.js
+ test/script/basic/JDK-8073640.js.EXPECTED
More information about the jdk10-changes
mailing list