Commit Graph

277 Commits

Author SHA1 Message Date
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
Attila Szegedi
91e5fbd2e0 8021189: Prevent access to constructors of restricted classes
Reviewed-by: lagergren, sundar
2013-07-24 11:13:24 +02:00
Attila Szegedi
947610257d 8021129: Use public lookup again
Reviewed-by: lagergren, sundar
2013-07-23 18:28:58 +02:00
Athijegannathan Sundararajan
e2975f94c6 8021122: Not all callables are handled for toString and other function valued properties
Reviewed-by: attila, hannesw, jlaskey
2013-07-23 18:17:25 +05:30
Attila Szegedi
566991e98e 8020820: Limit access to static members of reflective classes
Reviewed-by: jlaskey, sundar
2013-07-18 16:47:45 +02:00
Attila Szegedi
3a0f1e0653 8020809: Java adapter should not allow overriding of caller sensitive methods
Reviewed-by: jlaskey, sundar
2013-07-18 16:22:25 +02:00
Hannes Wallnöfer
c4bea48ac1 8020356: ClassCastException Undefined->Scope on spiltter class generated for a large switch statement
Reviewed-by: jlaskey, attila
2013-07-17 18:20:40 +02:00
Attila Szegedi
f6a5b67f14 8015356: array concatenation should skip empty elements
Reviewed-by: jlaskey, sundar
2013-07-16 17:03:30 +02:00
Attila Szegedi
e85e4fb319 8020357: throw RangeError for too large NativeArrayBuffer size
Reviewed-by: jlaskey, hannesw, sundar
2013-07-16 15:28:33 +02:00
Hannes Wallnöfer
6055fea677 8020358: Array(0xfffffff) throws OutOfMemoryError
Reviewed-by: jlaskey, sundar
2013-07-15 18:32:23 +02:00
Attila Szegedi
84e8d48fb4 8020508: Enforce reflection access restrictions on Object.bindProperties
Reviewed-by: jlaskey, sundar
2013-07-15 16:31:49 +02:00
Hannes Wallnöfer
40b8f5d48c 8020354: Object literal property initialization is not done in source order
Reviewed-by: sundar, jlaskey
2013-07-15 15:51:06 +02:00
Attila Szegedi
e11a9b1d07 8020324: Implement Object.bindProperties(target, source) for beans
Reviewed-by: hannesw, sundar
2013-07-15 12:33:48 +02:00