567 Commits

Author SHA1 Message Date
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
James Laskey
da5fb6dfae 8023721: Simplify eval in DebuggerSupport
Reviewed-by: sundar, lagergren, hannesw
2013-08-26 15:33:40 -03:00
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
Marcus Lagergren
6d31b3a15f 8023454: Updated DEVELOPER_README and command line flags, ensuring that undocumented flags that aren't guaranteed to work (disabled by default) and that are work in progress show up with an EXPERIMENTAL tag
Reviewed-by: attila, jlaskey
2013-08-23 15:46:09 +02:00
James Laskey
06e6e351d4 8020946: TokenType#toString returned null
Reviewed-by: hannesw, lagergren
2013-08-23 09:56:25 -03:00
Marcus Lagergren
25bbe574dc 8023550: -d option was broken for any dir but '.'. Fixed Java warnings
Reviewed-by: jlaskey, sundar
2013-08-23 14:16:16 +02: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
Marcus Lagergren
8940235d91 Merge 2013-08-23 12:44:01 +02:00
Marcus Lagergren
8e1d44b484 8023453: --log=attr did not unindent identNodes
Reviewed-by: attila, jlaskey
2013-08-23 12:43:32 +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
James Laskey
5d8a44e119 8023228: Debugger information gather is too slow
Reviewed-by: sundar, lagergren
2013-08-22 13:51:24 -03:00
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
Athijegannathan Sundararajan
67ca223959 8023210: jjs tools should support a mode where it will load few command line scripts and then entering into interactive shell
Reviewed-by: hannesw, attila, lagergren, jlaskey
2013-08-19 17:16:54 +05:30
Marcus Lagergren
9de0661d63 8023017: SUB missing for widest op == number for BinaryNode
Reviewed-by: sundar, jlaskey
2013-08-16 18:51:53 +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
Michael Horowitz
bf29c2ec49 8022676: Confusing error message checking instanceof non-class
Reviewed-by: jlaskey, sundar
2013-08-12 18:00:17 -03:00
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
Hannes Wallnöfer
76e9329e16 8022731: NativeArguments has wrong implementation of isMapped()
Reviewed-by: lagergren, jlaskey
2013-08-12 13:31:43 +02:00
Attila Szegedi
71bd48d8e7 8022789: Revisit doPrivileged blocks in Dynalink
Reviewed-by: lagergren, sundar
2013-08-12 12:46:01 +02:00
Athijegannathan Sundararajan
ec9506c0fe 8022782: publicLookup access failures in ScriptObject, ScriptFunction and ScriptFunction
Reviewed-by: lagergren, attila, hannesw
2013-08-12 14:43:53 +05:30
Athijegannathan Sundararajan
8ee7468a8c 8022707: Revisit all doPrivileged blocks
Reviewed-by: jlaskey, hannesw
2013-08-09 20:48:44 +05:30
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
Attila Szegedi
65cc3fdc8a 8022509: Various Dynalink security enhancements
Reviewed-by: jlaskey, hannesw
2013-08-07 16:38:44 +02:00
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
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
Hannes Wallnöfer
55483aa548 8021244: Inconsistent stackmap with splitter threshold set very low
Reviewed-by: sundar, lagergren
2013-07-25 11:56:12 +02:00
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
97f5b61172 8021294: --verify-code option results in AnalyzerException
Reviewed-by: hannesw, jlaskey
2013-07-24 21:01:22 +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
Hannes Wallnöfer
cf28b19245 8020718: RETURN symbol has wrong type in split functions
Reviewed-by: lagergren, attila
2013-07-24 13:16:34 +02:00
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
34d2bae0b0 8021164: REGRESSION: test262 failures after JDK-8021122
Reviewed-by: jlaskey, hannesw
2013-07-23 21:45:27 +05:30
James Laskey
6983b4e9e3 8021130: Comments need to be tokens
Reviewed-by: lagergren, attila
2013-07-23 12:00:29 -03: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