Commit Graph

612 Commits

Author SHA1 Message Date
Hannes Wallnöfer
1240bd8a48 8025515: Performance issues with Source.getLine()
Reviewed-by: sundar, lagergren
2013-09-27 16:59:01 +02:00
Lana Steuck
57f8c70159 Merge 2013-09-26 17:23:22 -07:00
Christine Lu
a1c24bd839 Added tag jdk8-b109 for changeset a9c63e60bf10 2013-09-26 10:43:59 -07:00
Athijegannathan Sundararajan
34bd48765e Merge 2013-09-26 16:37:21 +05:30
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
Athijegannathan Sundararajan
d4102fea81 Merge 2013-09-23 14:20:45 +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
Lana Steuck
89fc1030c1 Merge 2013-09-20 19:17:04 -07: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
Hannes Wallnöfer
82156b393c 8022587: ClassCache is not optimal and leaks Source instances
Reviewed-by: lagergren, attila
2013-09-20 12:11:08 +02:00
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
Christine Lu
1c1306bb1d Added tag jdk8-b108 for changeset 3afa46cd7e01 2013-09-19 09:37:28 -07:00
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
Hannes Wallnöfer
3d49dcdd9a 8023154: compileAllTests fails with: 2 tests failed to compile
Reviewed-by: sundar, jlaskey
2013-09-19 15:39:01 +02:00
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
Lana Steuck
e4217ce785 Merge 2013-09-17 08:21:42 -07:00
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
afde75bb52 Merge 2013-09-13 17:50:18 +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
Christine Lu
9ce2493888 Added tag jdk8-b107 for changeset e94578d4e6a5 2013-09-12 11:09:22 -07:00
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
Hannes Wallnöfer
a556e37ff2 8024476: Octane regression on Richards
Reviewed-by: sundar, jlaskey
2013-09-12 14:02:15 +02:00
Athijegannathan Sundararajan
389c23df3c Merge 2013-09-11 22:53:03 +05:30
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
Attila Szegedi
ab77668a9a 8024130: We no longer need slots for temporaries in self-assign indices
Reviewed-by: jlaskey, lagergren
2013-09-11 10:27:25 +02:00
James Laskey
12d6f7df9b 8024539: FX Libraries update missing file
Reviewed-by: sundar
2013-09-10 14:21:28 -03:00
James Laskey
126ef9ca4e 8024397: Nashorn FX Libraries need to be finalized
Reviewed-by: sundar, hannesw, lagergren
2013-09-09 13:35:35 -03:00
Athijegannathan Sundararajan
1392897ef0 Merge 2013-09-09 20:16:49 +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
Lana Steuck
7d25c8f021 Merge 2013-09-06 14:20:58 -07:00
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
Christine Lu
115b15c1fc Added tag jdk8-b106 for changeset 6ba209076a37 2013-09-05 02:46:24 -07:00
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
Lana Steuck
acaf7ca35c Merge 2013-08-29 16:34:31 -07:00
Christine Lu
696e9f594f Added tag jdk8-b105 for changeset df7b5446debc 2013-08-29 09:42:13 -07:00
Athijegannathan Sundararajan
13568cb462 Merge 2013-08-27 19:26:48 +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
Lana Steuck
243a756a0c Merge 2013-08-26 14:54:25 -07: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
Lana Steuck
76dbd59f19 Merge 2013-08-23 14:18:06 -07: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
Athijegannathan Sundararajan
1e1c0d3b80 Merge 2013-08-23 16:44:02 +05:30
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
Christine Lu
a758468eee Added tag jdk8-b104 for changeset 9b5ad625745e 2013-08-22 09:10:25 -07: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
Lana Steuck
dd6c7270b6 Merge 2013-08-20 17:46:45 -07:00
Athijegannathan Sundararajan
23c1598214 Merge 2013-08-19 19:37:29 +05:30
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
Christine Lu
db0ec61ffd Added tag jdk8-b103 for changeset 1f4e22f16147 2013-08-15 09:26:02 -07:00
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
Lana Steuck
48a4d23548 Merge 2013-08-13 18:34:12 -07:00
Lana Steuck
0081af7ad7 Merge 2013-08-13 10:34:41 -07:00
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
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
42d8f28181 8022614: Please exclude test test/script/trusted/JDK-8020809.js from Nashorn code coverage run
Reviewed-by: jlaskey, lagergren
2013-08-12 16:52:32 +05:30
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
Christine Lu
a4ad7e3be8 Added tag jdk8-b102 for changeset c6f119e1fb1f 2013-08-08 10:10:54 -07:00
Jim Laskey
8662010454 Merge 2013-08-08 11:20:14 -03: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
Attila Szegedi
65cc3fdc8a 8022509: Various Dynalink security enhancements
Reviewed-by: jlaskey, hannesw
2013-08-07 16:38:44 +02:00
Lana Steuck
630afb40c1 Merge 2013-08-06 17:01:56 -07:00
Lana Steuck
30f9a71516 Merge 2013-08-06 10:02:35 -07:00
Athijegannathan Sundararajan
2efc2b56a0 Merge 2013-08-06 13:10:40 +05:30
Christine Lu
d7f1d887ba Added tag jdk8-b101 for changeset 55745edff2b0 2013-08-01 04:56:29 -07: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
820cebb6aa Merge 2013-07-29 21:56:40 +05:30