Athijegannathan Sundararajan
|
e6599626c5
|
8027562: eval should load second and subsequent arguments for side effect
Reviewed-by: jlaskey, lagergren
|
2013-10-30 20:09:44 +05:30 |
|
Jim Laskey
|
bd41e14c13
|
Merge
|
2013-10-29 10:40:00 -03:00 |
|
Hannes Wallnöfer
|
3ed1d150a5
|
8027042: Evaluation order for binary operators can be improved
Reviewed-by: lagergren, jlaskey, attila
|
2013-10-25 10:20:49 +02:00 |
|
Athijegannathan Sundararajan
|
5184202107
|
Merge
|
2013-10-23 20:21:23 +05:30 |
|
Athijegannathan Sundararajan
|
3e7ce096f9
|
8027128: jdk.nashorn.api.scripting.JSObject should be an interface
Reviewed-by: hannesw, attila, jlaskey
|
2013-10-23 17:30:13 +05:30 |
|
Athijegannathan Sundararajan
|
471045eb80
|
Merge
|
2013-10-22 17:47:56 +05:30 |
|
Athijegannathan Sundararajan
|
0206687c1a
|
8027024: String.prototype.charAt and charCodeAt do not evaluate 'self' and 'pos' arguments in right order
Reviewed-by: jlaskey, attila, lagergren
|
2013-10-22 17:38:12 +05:30 |
|
Hannes Wallnöfer
|
06b32d6fcb
|
8026955: for-in should convert primitive values to object
Reviewed-by: jlaskey, lagergren
|
2013-10-22 11:31:03 +02:00 |
|
Hannes Wallnöfer
|
405f2da127
|
8027015: AutoCloseable no longer implements @FunctionalInterface
Reviewed-by: lagergren, sundar
|
2013-10-22 11:12:36 +02:00 |
|
Athijegannathan Sundararajan
|
fbb9a966b6
|
8027016: Array.prototype.indexOf should return -1 when array is of length zero
Reviewed-by: lagergren, attila
|
2013-10-22 14:27:52 +05:30 |
|
Konstantin Shefov
|
7adddc6d26
|
8026871: NASHORN TEST: Enable possibility to test Nashorn use of JavaFX canvas
Reviewed-by: jlaskey, sundar
|
2013-10-21 13:31:03 +04:00 |
|
Hannes Wallnöfer
|
ef6f8003c8
|
8026858: Array length does not handle defined properties correctly
Reviewed-by: jlaskey
|
2013-10-18 22:42:41 +02:00 |
|
Hannes Wallnöfer
|
660aab2c4d
|
8026805: Array.prototype.length doesn't work as expected
Reviewed-by: sundar, lagergren
|
2013-10-18 12:50:21 +02:00 |
|
Hannes Wallnöfer
|
d681100033
|
8026701: Array.prototype.splice is slow on dense arrays
Reviewed-by: lagergren, sundar, jlaskey
|
2013-10-17 17:33:16 +02:00 |
|
Attila Szegedi
|
34ad8867bc
|
8026161: Don't narrow floating-point literals in the lexer
Reviewed-by: hannesw, jlaskey
|
2013-10-17 12:38:50 +02:00 |
|
Hannes Wallnöfer
|
d22bf99ead
|
8026693: getType() called on DISCARD node
Reviewed-by: sundar, lagergren
|
2013-10-16 10:15:55 +02:00 |
|
Hannes Wallnöfer
|
d41ff60568
|
8026692: eval() throws NullPointerException with --compile-only
Reviewed-by: sundar, lagergren
|
2013-10-16 10:12:22 +02:00 |
|
James Laskey
|
4ea77e0979
|
8026498: Revert: latest runsunspider.js tests contains several bugs
Reviewed-by: sundar, hannesw
|
2013-10-15 13:14:04 -03:00 |
|
Hannes Wallnöfer
|
fd29d64bfd
|
8026367: Add a sync keyword to mozilla_compat
Reviewed-by: sundar, attila, lagergren
|
2013-10-15 17:37:47 +02:00 |
|
Attila Szegedi
|
8a727caa63
|
8026397: Fix ambiguity with array conversion, including passing JS NativeArrays in Java variable arity methods' vararg array position
Reviewed-by: jlaskey, sundar
|
2013-10-15 15:57:14 +02:00 |
|
Attila Szegedi
|
3538d0af55
|
8026113: Nashorn arrays should automatically convert to Java arrays
Reviewed-by: jlaskey, sundar
|
2013-10-14 12:41:11 +02:00 |
|
Hannes Wallnöfer
|
3c50f75173
|
8026016: too many relinks dominate avatar.js http benchmark
Reviewed-by: sundar, jlaskey, attila
|
2013-10-14 11:45:15 +02:00 |
|
James Laskey
|
e0df3515ce
|
8026309: latest runsunspider.js tests contains several bugs
Reviewed-by: sundar, lagergren
|
2013-10-11 14:54:16 +02:00 |
|
Athijegannathan Sundararajan
|
76d698bbf8
|
8026317: $ in the function name results in wrong function being invoked
Reviewed-by: lagergren, jlaskey
|
2013-10-11 14:11:14 +02:00 |
|
Athijegannathan Sundararajan
|
a71c4a5390
|
8026302: source representation of getter and setter methods is wrong
Reviewed-by: lagergren, hannesw, jlaskey
|
2013-10-11 11:15:59 +02:00 |
|
Hannes Wallnöfer
|
02625b48e3
|
8026292: Megamorphic setter fails with boolean value
Reviewed-by: jlaskey, sundar
|
2013-10-11 10:56:08 +02:00 |
|
Athijegannathan Sundararajan
|
36d36b2eda
|
8026263: [NASHORN] Test test/script/basic/JDK-8025488.js fails in nightly builds
Reviewed-by: jlaskey
|
2013-10-11 06:50:06 +02:00 |
|
Athijegannathan Sundararajan
|
66bb0d28fa
|
8026264: Getter, setter function name mangling issues
Reviewed-by: lagergren, jlaskey
|
2013-10-10 21:43:35 +02:00 |
|
Athijegannathan Sundararajan
|
a577bf4154
|
8026162: "this" in SAM adapter functions is wrong
Reviewed-by: jlaskey, hannesw
|
2013-10-10 14:43:22 +02:00 |
|
Athijegannathan Sundararajan
|
8cf4738031
|
8026248: importClass has to be a varargs function
Reviewed-by: jlaskey, hannesw
|
2013-10-10 13:17:57 +02:00 |
|
Athijegannathan Sundararajan
|
d5dda0a437
|
8026167: Class cache/reuse of 'eval' scripts results in ClassCastException in some cases
Reviewed-by: lagergren, jlaskey
|
2013-10-10 11:48:56 +02:00 |
|
Marcus Lagergren
|
16ce875fc6
|
8026137: Fix Issues with Binary Evaluation Order
Co-authored-by: Attila Szegedi <attila.szegedi@oracle.com>
Reviewed-by: hannesw, jlaskey
|
2013-10-09 17:53:22 +02:00 |
|
Hannes Wallnöfer
|
3ef5f027ce
|
8026008: Constant folding removes var statement
Reviewed-by: sundar, jlaskey
|
2013-10-09 14:50:39 +02:00 |
|
Athijegannathan Sundararajan
|
a7261c57e0
|
8026125: Array.prototype.slice.call(Java.type("java.util.HashMap")) throws ClassCastException: jdk.internal.dynalink.beans.StaticClass cannot be cast to jdk.nashorn.internal.runtime.ScriptObject
Reviewed-by: hannesw, jlaskey
|
2013-10-09 13:26:23 +02:00 |
|
Athijegannathan Sundararajan
|
1ed2372816
|
8026112: Function("with(x ? 1e81 : (x2.constructor = 0.1)){}") throws AssertionError: double is not compatible with object
Reviewed-by: lagergren, hannesw
|
2013-10-09 10:47:47 +02:00 |
|
Athijegannathan Sundararajan
|
c257318ccc
|
8026048: Function constructor should convert arguments to String before performing any syntax checks
Reviewed-by: jlaskey, hannesw
|
2013-10-08 16:46:03 +02:00 |
|
Hannes Wallnöfer
|
90e3c6f95e
|
8026042: FoldConstants need to guard against ArrayLiteralNode
Reviewed-by: jlaskey, sundar
|
2013-10-08 15:53:22 +02:00 |
|
Athijegannathan Sundararajan
|
21a8fda433
|
8026039: future strict names are allowed as function name and argument name of a strict function
Reviewed-by: hannesw, jlaskey
|
2013-10-08 14:57:31 +02:00 |
|
Athijegannathan Sundararajan
|
d77e1a1701
|
8026033: Switch should load expression even when there are no cases in it
Reviewed-by: jlaskey, hannesw
|
2013-10-08 13:02:39 +02:00 |
|
Hannes Wallnöfer
|
3d45463461
|
8025213: Assignment marks variable as defined too early
Reviewed-by: jlaskey, lagergren, sundar
|
2013-10-08 11:55:19 +02:00 |
|
Athijegannathan Sundararajan
|
be135d2901
|
8025771: Enhance Nashorn Contexts
Reviewed-by: jlaskey, hannesw
|
2013-10-04 16:21:29 +05:30 |
|
Athijegannathan Sundararajan
|
04d4458ef8
|
8025488: Error.captureStackTrace should not format error stack
Reviewed-by: hannesw, attila
|
2013-10-01 14:38:56 +05:30 |
|
Athijegannathan Sundararajan
|
5c16d54797
|
8025629: load function should support a way to load scripts from classpath
Reviewed-by: lagergren, hannesw, attila
|
2013-09-30 21:33:38 +05:30 |
|
Hannes Wallnöfer
|
c9fc9b4c9c
|
8025589: Array.prototype.shift should only copy defined elements in generic mode
Reviewed-by: sundar, attila
|
2013-09-30 15:54:05 +02:00 |
|
Hannes Wallnöfer
|
bf815f12fa
|
8025520: Array.prototype.slice should only copy defined elements
Reviewed-by: sundar, lagergren
|
2013-09-27 17:00:37 +02:00 |
|
Hannes Wallnöfer
|
1240bd8a48
|
8025515: Performance issues with Source.getLine()
Reviewed-by: sundar, lagergren
|
2013-09-27 16:59:01 +02:00 |
|
Hannes Wallnöfer
|
2e8063226d
|
8025486: RegExp constructor arguments are not evaluated in right order
Reviewed-by: sundar
|
2013-09-26 11:47:24 +02:00 |
|
Hannes Wallnöfer
|
abc7352b43
|
8025197: String replace method fails with regexp /$/gi
Reviewed-by: sundar
|
2013-09-26 10:14:24 +02:00 |
|
Hannes Wallnöfer
|
0414dcb01d
|
8025434: RegExp lastIndex can exceed int range
Reviewed-by: lagergren, sundar
|
2013-09-25 16:37:56 +02:00 |
|
Athijegannathan Sundararajan
|
f8d5db06b9
|
8025325: parseFloat does not handle '.' in exponent part
Reviewed-by: hannesw
|
2013-09-25 08:17:37 +05:30 |
|
Athijegannathan Sundararajan
|
93c8cbec9c
|
8025312: parseInt should convert 'radix' argument to ToInt32 even if empty string is parsed
Reviewed-by: jlaskey, hannesw
|
2013-09-24 20:43:42 +05:30 |
|
Hannes Wallnöfer
|
1508b37a51
|
8025163: Date methods should not return -0
Reviewed-by: lagergren, jlaskey
|
2013-09-21 10:11:15 +02:00 |
|
Athijegannathan Sundararajan
|
e259f89913
|
8025149: JSON.stringify does not handle 'space' argument as per the spec
Reviewed-by: jlaskey, hannesw
|
2013-09-20 22:37:08 +05:30 |
|
Athijegannathan Sundararajan
|
f996a92b3b
|
8025147: Trailing comma is not allowed in JSONArray and JSONObject
Reviewed-by: hannesw, jlaskey
|
2013-09-20 20:55:43 +05:30 |
|
Athijegannathan Sundararajan
|
337cfe593f
|
8025111: undefined or null 'with' expression in empty with block should throw TypeError
Reviewed-by: lagergren, hannesw
|
2013-09-20 12:56:07 +05:30 |
|
Athijegannathan Sundararajan
|
996bf0feef
|
8025090: 'while' statement with 'test' using var before being declared in body results in VerifyError
Reviewed-by: jlaskey
|
2013-09-19 23:48:37 +05:30 |
|
Athijegannathan Sundararajan
|
d6f64ae009
|
8025080: Object literal getter, setter function with number format property name results in ClassFormatError
Reviewed-by: lagergren, hannesw
|
2013-09-19 21:20:47 +05:30 |
|
Athijegannathan Sundararajan
|
c2859f0bca
|
8025048: true as case label results in ClassCastException
Reviewed-by: lagergren
|
2013-09-19 13:34:01 +05:30 |
|
Athijegannathan Sundararajan
|
8f90571322
|
8024973: Using a different ScriptContext with a CompiledScript results in ScriptException
Reviewed-by: jlaskey, hannesw
|
2013-09-18 16:36:25 +05:30 |
|
Athijegannathan Sundararajan
|
e287ff4ec9
|
8024972: for (LeftHandSideExpression in Expression) crashes the compiler
Reviewed-by: lagergren, hannesw
|
2013-09-18 13:06:17 +05:30 |
|
Attila Szegedi
|
5ddc447fc5
|
8024846: keep separate internal arguments variable
Reviewed-by: lagergren, sundar
|
2013-09-16 14:44:20 +02:00 |
|
Athijegannathan Sundararajan
|
aea57c9e6f
|
8024847: Java.to should accept mirror and external JSObjects as array-like objects as well
Reviewed-by: hannesw, attila, lagergren
|
2013-09-16 15:08:36 +05:30 |
|
Athijegannathan Sundararajan
|
8c226a6210
|
8024619: JDBC java.sql.DriverManager is not usable from JS script
Reviewed-by: jlaskey, lagergren, attila
|
2013-09-13 16:45:11 +05:30 |
|
Athijegannathan Sundararajan
|
a122ebe169
|
8024693: Various minor issues with JSONWriter used by script parser API
Reviewed-by: jlaskey, hannesw
|
2013-09-12 22:16:40 +05:30 |
|
Hannes Wallnöfer
|
58b4892936
|
8024512: Regex /[^\[]/ doesn't match
Reviewed-by: jlaskey, sundar
|
2013-09-12 17:13:59 +02:00 |
|
Athijegannathan Sundararajan
|
75b2463cde
|
8024644: PluggableJSObject.iteratingJSObjectTest fails with jdk8-tl build
Reviewed-by: jlaskey, hannesw
|
2013-09-11 22:51:34 +05:30 |
|
Athijegannathan Sundararajan
|
f2db7a5c1c
|
8024615: Refactor ScriptObjectMirror and JSObject to support external JSObject implementations
Reviewed-by: jlaskey, hannesw
|
2013-09-11 20:49:28 +05:30 |
|
Athijegannathan Sundararajan
|
0b67400c6f
|
8024180: Incorrect handling of expression and parent scope in 'with' statements
Reviewed-by: jlaskey, hannesw
|
2013-09-09 20:10:41 +05:30 |
|
Athijegannathan Sundararajan
|
6311d28032
|
8024255: When a keyword is used as object property name, the property can not be deleted
Reviewed-by: jlaskey, lagergren
|
2013-09-05 21:17:06 +05:30 |
|
Athijegannathan Sundararajan
|
747b74ce5e
|
8024174: Setting __proto__ property in Object literal should be supported
Reviewed-by: jlaskey, lagergren
|
2013-09-04 19:58:16 +05:30 |
|
Athijegannathan Sundararajan
|
1268ef5430
|
8024120: Setting __proto__ to null removes the __proto__ property
Reviewed-by: lagergren, attila
|
2013-09-04 14:29:07 +05:30 |
|
Athijegannathan Sundararajan
|
f5d9acd819
|
8023784: Object.prototype.toString should contain the class name for all instances
Reviewed-by: lagergren, jlaskey
|
2013-08-27 18:57:50 +05:30 |
|
Attila Szegedi
|
a9796aeea0
|
8023780: Gracefully handle @CS methods while binding bean properties
Reviewed-by: jlaskey, lagergren, sundar
|
2013-08-27 13:17:00 +02:00 |
|
Athijegannathan Sundararajan
|
359034825f
|
8022773: ScriptEngineTest.printManyTest fails
Reviewed-by: lagergren, attila
|
2013-08-27 15:54:45 +05:30 |
|
Hannes Wallnöfer
|
c10f9ffaeb
|
8023650: Regexp m flag does not recognize CRNL or CR
Reviewed-by: jlaskey, lagergren
|
2013-08-26 15:59:41 +02:00 |
|
James Laskey
|
0863203de8
|
8019987: String trimRight and trimLeft could be defined
Reviewed-by: sundar
|
2013-08-23 12:20:19 -03:00 |
|
Attila Szegedi
|
3a14dde3d2
|
8023630: Implement Java.super() as the preferred way to call super methods
Reviewed-by: jlaskey, lagergren, sundar
|
2013-08-23 13:10:45 +02:00 |
|
Athijegannathan Sundararajan
|
6119c39830
|
8023631: engine.js init script should be loaded into every global instance created by engines
Reviewed-by: attila, hannesw
|
2013-08-23 16:10:37 +05:30 |
|
Athijegannathan Sundararajan
|
7b5f6c66a5
|
8023560: Arbitrary javax.script.Bindings objects as ENGINE_SCOPE objects are not handled as expected
Reviewed-by: jlaskey, lagergren, hannesw
|
2013-08-22 22:32:16 +05:30 |
|
Hannes Wallnöfer
|
863bbb911b
|
8023531: new RegExp('').toString() should return '/(?:)/'
Reviewed-by: sundar, jlaskey
|
2013-08-22 17:23:50 +02:00 |
|
Athijegannathan Sundararajan
|
cc6216ae2e
|
8023551: Mirror functions can not be invoked using invokeMethod, invokeFunction
Reviewed-by: attila, jlaskey, lagergren
|
2013-08-22 18:46:26 +05:30 |
|
Athijegannathan Sundararajan
|
2bb4ab07ca
|
8023368: Instance __proto__ property should exist and be writable
Reviewed-by: attila, hannesw
|
2013-08-21 17:28:53 +05:30 |
|
Attila Szegedi
|
00099d7de2
|
8022903: Enhance for-in and for-each for Lists and Maps
Reviewed-by: lagergren, sundar
|
2013-08-21 13:39:40 +02:00 |
|
Attila Szegedi
|
6db516232b
|
8023373: allow super invocation for adapters
Reviewed-by: lagergren, sundar
|
2013-08-21 13:39:09 +02:00 |
|
Hannes Wallnöfer
|
c5193485ad
|
8019985: Date.parse("2000-01-01T00:00:00.Z") should return NaN
Reviewed-by: sundar, jlaskey
|
2013-08-16 13:42:44 +02:00 |
|
Athijegannathan Sundararajan
|
2f90b28014
|
8020355: bind on built-in constructors don't use bound argument values
Reviewed-by: lagergren, hannesw
|
2013-08-16 15:04:36 +05:30 |
|
Athijegannathan Sundararajan
|
a28b8a61dc
|
8023026: Array.prototype iterator functions like forEach, reduce should work for Java arrays, lists
Reviewed-by: jlaskey, lagergren
|
2013-08-14 20:51:53 +05:30 |
|
Athijegannathan Sundararajan
|
7e85e9c196
|
8022598: Object.getPrototypeOf should return null for host objects rather than throwing TypeError
Reviewed-by: lagergren, jlaskey, attila, hannesw
|
2013-08-12 18:16:28 +05:30 |
|
Athijegannathan Sundararajan
|
cb2ec81051
|
8022615: [nightly] Two nashorn print tests fail in nightly builds on Windows
Reviewed-by: lagergren, jlaskey
|
2013-08-12 17:08:01 +05:30 |
|
Hannes Wallnöfer
|
76e9329e16
|
8022731: NativeArguments has wrong implementation of isMapped()
Reviewed-by: lagergren, jlaskey
|
2013-08-12 13:31:43 +02:00 |
|
Athijegannathan Sundararajan
|
77e477eaea
|
8022524: Memory leaks in nashorn sources and tests found by jhat analysis
Reviewed-by: attila, hannesw
|
2013-08-08 16:38:32 +05:30 |
|
Hannes Wallnöfer
|
24adb234a8
|
8020132 : Big object literal with numerical keys exceeds method size
Reviewed-by: lagergren, sundar
|
2013-08-01 12:23:38 +02:00 |
|
Athijegannathan Sundararajan
|
c9efbba43f
|
8012792: print function defined in engine.js does not handle multiple arguments
Reviewed-by: hannesw
|
2013-07-29 18:07:20 +05:30 |
|
Athijegannathan Sundararajan
|
010a7705a4
|
8021571: @fork tests should use VM options passed from project.properties
Reviewed-by: lagergren, hannesw, jlaskey
|
2013-07-26 20:10:47 +05:30 |
|
Michael Horowitz
|
716045c405
|
8021321: Two runsunspider tests fail after updating sunspider to 1.0
Reviewed-by: jlaskey, sundar
|
2013-07-26 09:17:54 -03:00 |
|
Hannes Wallnöfer
|
77a2559593
|
8020719: Run tests with reduced splitter threshold
Reviewed-by: lagergren, sundar, jlaskey
|
2013-07-26 13:50:52 +02:00 |
|
Athijegannathan Sundararajan
|
fdb4922746
|
8021361: ClassCastException:.ScriptObjectMirror -> ScriptObject when getInterface called on object from different ScriptContext
Reviewed-by: jlaskey, attila
|
2013-07-25 20:10:48 +05:30 |
|
Athijegannathan Sundararajan
|
90fc477ac3
|
8021252: invokeMethod throws NoSuchMethodException when script object is from different script context
Reviewed-by: lagergren, hannesw
|
2013-07-25 14:05:03 +05:30 |
|
Athijegannathan Sundararajan
|
67126cb8fb
|
8021262: Make nashorn access checks consistent with underlying dynalink
Reviewed-by: jlaskey, lagergren, attila
|
2013-07-24 20:28:03 +05:30 |
|
Attila Szegedi
|
85d68499be
|
8021246: Fix regression for 8021189
Reviewed-by: lagergren, sundar
|
2013-07-24 12:48:09 +02:00 |
|