hg: jdk9/sandbox/nashorn: 8098847: obj."prop" and obj.'prop' should result in SyntaxError

chris.hegarty at oracle.com chris.hegarty at oracle.com
Wed Jun 17 09:01:04 UTC 2015


Changeset: 7e06231229fd
Author:    sundar
Date:      2015-06-17 14:21 +0530
URL:       http://hg.openjdk.java.net/jdk9/sandbox/nashorn/rev/7e06231229fd

8098847: obj."prop" and obj.'prop' should result in SyntaxError
Reviewed-by: hannesw, attila

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/BooleanType.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/AbstractParser.java
+ test/script/error/JDK-8098847.js
+ test/script/error/JDK-8098847.js.EXPECTED



More information about the jdk9-sandbox-changes mailing list