hg: jdk8/tl/nashorn: 14 new changesets

sundararajan.athijegannathan at oracle.com sundararajan.athijegannathan at oracle.com
Tue Jun 18 04:21:19 PDT 2013


Changeset: df5d7f34e35e
Author:    hannesw
Date:      2013-06-11 17:50 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/df5d7f34e35e

8015379: PropertyMap.addProperty() is slow
Reviewed-by: attila, jlaskey

! src/jdk/nashorn/internal/runtime/PropertyMap.java

Changeset: aa16622193e1
Author:    jlaskey
Date:      2013-06-12 11:22 -0300
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/aa16622193e1

8016453: loadWithNewGlobal does not allow apply operation
Reviewed-by: hannesw, sundar
Contributed-by: james.laskey at oracle.com

! samples/test.js
! src/jdk/nashorn/internal/objects/Global.java

Changeset: d26e069353c0
Author:    hannesw
Date:      2013-06-12 16:41 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/d26e069353c0

8011893: JS Object builtin prototype is not thread safe
Reviewed-by: sundar, jlaskey

! src/jdk/nashorn/internal/runtime/PropertyListenerManager.java
+ test/script/basic/JDK-8011893.js
+ test/script/basic/JDK-8011893.js.EXPECTED

Changeset: b0dcc3727fc3
Author:    sundar
Date:      2013-06-13 16:08 +0530
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/b0dcc3727fc3

8015355: Array.prototype functions don't honour non-writable length and / or index properties
Reviewed-by: lagergren, hannesw

! src/jdk/nashorn/internal/objects/AccessorPropertyDescriptor.java
! src/jdk/nashorn/internal/objects/DataPropertyDescriptor.java
! src/jdk/nashorn/internal/objects/GenericPropertyDescriptor.java
! src/jdk/nashorn/internal/objects/Global.java
! src/jdk/nashorn/internal/objects/NativeArray.java
! src/jdk/nashorn/internal/objects/NativeError.java
! src/jdk/nashorn/internal/objects/NativeEvalError.java
! src/jdk/nashorn/internal/objects/NativeFunction.java
! src/jdk/nashorn/internal/objects/NativeJSON.java
! src/jdk/nashorn/internal/objects/NativeJavaImporter.java
! src/jdk/nashorn/internal/objects/NativeRangeError.java
! src/jdk/nashorn/internal/objects/NativeReferenceError.java
! src/jdk/nashorn/internal/objects/NativeSyntaxError.java
! src/jdk/nashorn/internal/objects/NativeTypeError.java
! src/jdk/nashorn/internal/objects/NativeURIError.java
! src/jdk/nashorn/internal/runtime/Context.java
! src/jdk/nashorn/internal/runtime/JSONFunctions.java
! src/jdk/nashorn/internal/runtime/NativeJavaPackage.java
! src/jdk/nashorn/internal/runtime/ScriptObject.java
! src/jdk/nashorn/internal/runtime/ScriptingFunctions.java
! src/jdk/nashorn/internal/runtime/arrays/ArrayIterator.java
+ test/script/basic/JDK-8015355.js

Changeset: 6d6133ef1fd5
Author:    hannesw
Date:      2013-06-13 12:52 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/6d6133ef1fd5

8016518: Parsing of octal string escapes is broken
Reviewed-by: sundar, lagergren

! src/jdk/nashorn/internal/parser/Lexer.java
+ test/script/basic/JDK-8016518.js
+ test/script/basic/JDK-8016518.js.EXPECTED

Changeset: 18362e95e638
Author:    hannesw
Date:      2013-06-13 14:02 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/18362e95e638

8016522: Numeric literal must not be followed by IdentifierStart
Reviewed-by: lagergren, sundar

! src/jdk/nashorn/internal/parser/Lexer.java
! src/jdk/nashorn/internal/runtime/resources/Messages.properties
+ test/script/error/JDK-8016522.js
+ test/script/error/JDK-8016522.js.EXPECTED

Changeset: fe80eda7b57e
Author:    hannesw
Date:      2013-06-13 15:26 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/fe80eda7b57e

8016528: Hex code from escape() should be padded
Reviewed-by: jlaskey, lagergren

! src/jdk/nashorn/internal/runtime/GlobalFunctions.java
+ test/script/basic/JDK-8016528.js
+ test/script/basic/JDK-8016528.js.EXPECTED

Changeset: c5f783d83180
Author:    hannesw
Date:      2013-06-13 20:50 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/c5f783d83180

8016542: String.prototype.replace called with function argument should not replace $ patterns
Reviewed-by: lagergren, jlaskey

! src/jdk/nashorn/internal/objects/NativeRegExp.java
+ test/script/basic/JDK-8016542.js
+ test/script/basic/JDK-8016542.js.EXPECTED

Changeset: 3efa56767847
Author:    lagergren
Date:      2013-06-14 13:53 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/3efa56767847

8016235: Use in catch block that may not have been executed in try block caused illegal byte code to be generated
Reviewed-by: jlaskey, hannesw

! src/jdk/nashorn/internal/codegen/Attr.java
! src/jdk/nashorn/internal/ir/Symbol.java
! src/jdk/nashorn/internal/parser/JSONParser.java
! src/jdk/nashorn/internal/parser/Lexer.java
+ test/script/basic/JDK-8016235.js

Changeset: 3d947baa33cc
Author:    sundar
Date:      2013-06-14 21:16 +0530
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/3d947baa33cc

8016618: script mirror object access should be improved
Reviewed-by: jlaskey, lagergren

! src/jdk/nashorn/api/scripting/ScriptObjectMirror.java
! src/jdk/nashorn/internal/ir/BreakableNode.java
! src/jdk/nashorn/internal/objects/NativeArray.java
! src/jdk/nashorn/internal/objects/NativeFunction.java
! src/jdk/nashorn/internal/objects/NativeObject.java
! src/jdk/nashorn/internal/runtime/Context.java
! src/jdk/nashorn/internal/runtime/ScriptObject.java
! src/jdk/nashorn/internal/runtime/ScriptRuntime.java
! src/jdk/nashorn/internal/runtime/arrays/ArrayLikeIterator.java
! src/jdk/nashorn/internal/runtime/arrays/IteratorAction.java
+ src/jdk/nashorn/internal/runtime/arrays/ReverseScriptObjectMirrorIterator.java
+ src/jdk/nashorn/internal/runtime/arrays/ScriptObjectMirrorIterator.java
+ test/script/basic/JDK-8016618.js
+ test/script/basic/JDK-8016618.js.EXPECTED

Changeset: a2fa56222fa2
Author:    sundar
Date:      2013-06-17 13:56 +0530
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/a2fa56222fa2

8016550: nashorn.option.no.syntax.extensions has the wrong default
Reviewed-by: hannesw, lagergren

! make/project.properties
! src/jdk/nashorn/api/scripting/NashornScriptEngine.java
! src/jdk/nashorn/internal/parser/Parser.java
! src/jdk/nashorn/internal/runtime/ScriptEnvironment.java
! src/jdk/nashorn/internal/runtime/resources/Options.properties
! test/script/basic/moduleload.js

Changeset: bfac80dffc49
Author:    sundar
Date:      2013-06-18 13:25 +0530
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/bfac80dffc49

Merge


Changeset: 616ab697fcac
Author:    sundar
Date:      2013-06-18 13:45 +0530
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/616ab697fcac

8008915: URLReader constructor should allow specifying encoding
Reviewed-by: hannesw, lagergren

! src/jdk/nashorn/api/scripting/NashornScriptEngine.java
! src/jdk/nashorn/api/scripting/URLReader.java
! src/jdk/nashorn/internal/runtime/Source.java

Changeset: 2cf438a3a3aa
Author:    sundar
Date:      2013-06-18 13:52 +0530
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/2cf438a3a3aa

Merge




More information about the security-dev mailing list