hg: jdk9/dev/nashorn: 8160034: The `this` value in the `with` is broken by the repetition of a function call

hannes.wallnoefer at oracle.com hannes.wallnoefer at oracle.com
Thu Jul 28 14:27:13 UTC 2016


Changeset: 9940204f504c
Author:    hannesw
Date:      2016-07-28 16:27 +0200
URL:       http://hg.openjdk.java.net/jdk9/dev/nashorn/rev/9940204f504c

8160034: The `this` value in the `with` is broken by the repetition of a function call
Reviewed-by: attila, sundar

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/Global.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptObject.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/WithObject.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornGuards.java
+ test/script/basic/JDK-8160034.js
+ test/script/basic/JDK-8160034.js.EXPECTED



More information about the jdk9-dev-changes mailing list