Commit Graph

759 Commits

Author SHA1 Message Date
Athijegannathan Sundararajan
961103778f 8032060: PropertyMap of Error objects is not stable
Reviewed-by: jlaskey, hannesw
2014-01-17 20:09:47 +05:30
Abhijit Saha
16f65b9e8e Merge 2014-01-16 21:46:17 -08:00
Athijegannathan Sundararajan
bb600b7978 8032004: instance property "message" of Error objects should be non-enumerable
Reviewed-by: hannesw, jlaskey
2014-01-16 22:50:53 +05:30
Athijegannathan Sundararajan
9ce7db11e3 8031983: Error objects should capture stack at the constructor
Reviewed-by: jlaskey, hannesw
2014-01-16 21:26:21 +05:30
Abhijit Saha
e77bdad89b Merge 2014-01-15 10:24:42 -08:00
Athijegannathan Sundararajan
d7d8810466 8031715: Indexed access to java package not working
Reviewed-by: lagergren, hannesw
2014-01-15 14:51:49 +05:30
Abhijit Saha
3b282ab915 Merge 2014-01-14 08:09:04 -08:00
Athijegannathan Sundararajan
dffad236b0 Merge 2014-01-14 14:18:24 +05:30
Athijegannathan Sundararajan
3b6813140c Merge 2014-01-14 09:03:54 +05:30
Jeff Dinkins
073ec48670 7129980: Third Party License Readme update for JDK8
Reviewed-by: lana, tbell
2014-01-13 14:45:02 -08:00
Athijegannathan Sundararajan
1dd97ac6e7 8011964: need indexed access to externally-managed ByteBuffer
Reviewed-by: lagergren, hannesw
2014-02-14 19:02:02 +05:30
Athijegannathan Sundararajan
fee7c642da 8029332: Do not require nasgen-generated functions to return Object
Reviewed-by: lagergren, jlaskey, hannesw
2014-01-13 18:13:55 +05:30
Abhijit Saha
d9f2485d84 Merge 2014-01-10 17:08:11 -08:00
David Katleman
d77bace78b Added tag jdk8-b123 for changeset 8db9ff9fdd86 2014-01-10 08:32:23 -08:00
Athijegannathan Sundararajan
305de05b44 8031359: Invocable.getInterface() works incorrectly if interface has default methods
Reviewed-by: attila, hannesw
2014-01-09 19:23:34 +05:30
Athijegannathan Sundararajan
9304f8da29 8031317: SyntaxError when property setter has no parameter
Reviewed-by: lagergren, hannesw
2014-01-08 17:51:47 +05:30
Hannes Wallnöfer
5071b80944 8029667: Prototype linking is incorrect
Reviewed-by: jlaskey, sundar
2014-01-07 14:16:23 +01:00
Athijegannathan Sundararajan
a26dd7a41b 8029003: setField in ScriptObject is incorrect for non extensible objects
Reviewed-by: lagergren, jlaskey
2014-01-07 18:14:18 +05:30
David Katleman
38f7bb43af Added tag jdk8-b122 for changeset 35eadc466f62 2014-01-03 11:55:12 -08:00
Athijegannathan Sundararajan
ab0a342a89 8031106: Nashorn: IndexOutOfBoundsException in NashornCallSiteDescriptor.getNameToken()
Reviewed-by: hannesw, jlaskey
2014-01-03 10:09:48 +05:30
Lana Steuck
31bf8f42d3 Merge 2013-12-23 14:46:33 -08:00
David Katleman
0c6a687f70 Added tag jdk8-b121 for changeset 0127c0df76cd 2013-12-19 17:24:39 -08:00
Athijegannathan Sundararajan
1b8c152090 8030809: Anonymous functions should not be shown with internal names in script stack trace
Reviewed-by: lagergren, hannesw, jlaskey
2013-12-19 21:53:27 +05:30
Athijegannathan Sundararajan
1bef37e215 8030182: scopeCall with -1 as line number
Reviewed-by: hannesw, jlaskey
2013-12-16 23:25:50 +05:30
Athijegannathan Sundararajan
53293af78c 8030169: Need regression test for bug JDK-8010731
Reviewed-by: attila, lagergren
2013-12-16 18:32:50 +05:30
Iris Clark
bf9bfd8aa4 8030068: Update .jcheck/conf files for JDK 9
Reviewed-by: mr
2013-12-13 09:36:37 -08:00
Lana Steuck
83e0d01c60 Merge 2013-12-12 19:19:21 -08:00
Iris Clark
2f114ce8e2 Added tag jdk9-b00 for changeset 0127c0df76cd 2013-12-12 15:27:12 -08:00
Athijegannathan Sundararajan
662abf1039 8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
Markdown test fix contributed by kshefov

Reviewed-by: jlaskey
2013-12-12 19:02:43 +05:30
David Katleman
72a06eef78 Added tag jdk8-b120 for changeset 364ebc8a25e1 2013-12-12 05:21:40 -08:00
Athijegannathan Sundararajan
48c411b61e Merge 2013-12-12 09:18:08 +05:30
Marcus Lagergren
c502f1025e 8029780: "ant externals" broke our test harness with the latest version of the octane benchmarks
Reviewed-by: attila, sundar
2013-12-11 18:09:34 +01:00
Attila Szegedi
7f26a099d0 8029467: Widening of booleans causes bad results
Reviewed-by: jlaskey, lagergren
2013-12-09 10:52:05 +01:00
Athijegannathan Sundararajan
3795ca74f1 Merge 2013-12-09 09:53:14 +05:30
Athijegannathan Sundararajan
5a005f200b 8029612: the typeErrorThrower field in ScriptFunctionImpl cannot be static and common to all Globals
Reviewed-by: attila, hannesw
2013-12-09 09:48:11 +05:30
Lana Steuck
013fccac9d Merge 2013-12-05 10:34:55 -08:00
David Katleman
8638a2c00b Added tag jdk8-b119 for changeset a529e9d7d40e 2013-12-04 23:11:52 -08:00
Athijegannathan Sundararajan
5a95d88c93 Merge 2013-12-04 14:37:51 +05:30
Lana Steuck
ebfe72c944 Merge 2013-12-03 10:46:39 -08:00
Athijegannathan Sundararajan
31006e8d33 8029364: NashornException to expose thrown object
Reviewed-by: lagergren, jlaskey
2013-12-02 18:19:26 +05:30
Christine Lu
46d6ca8804 Added tag jdk8-b118 for changeset 6f9e2b240132 2013-11-28 08:24:41 -08:00
Athijegannathan Sundararajan
ab92b2401e 8028345: Remove nashorn repo "bin" scripts to avoid confusion with JDK bin launcher programs
Reviewed-by: lagergren, hannesw
2013-11-27 14:13:52 +05:30
James Laskey
fc3d0e6ff3 8029173: Debugger support doesn't handle ConsString
Reviewed-by: lagergren, hannesw, sundar
2013-11-26 11:58:20 -04:00
Athijegannathan Sundararajan
8a6f7a3d45 8029031: "ant clean jar" on nashorn repo results in number of ASM deprecated warnings
Reviewed-by: lagergren, jlaskey, hannesw
2013-11-26 18:36:39 +05:30
Lana Steuck
9f58ef03de Merge 2013-11-25 09:41:25 -08:00
Jim Laskey
feeefa4945 Merge 2013-11-25 11:13:08 -04:00
Athijegannathan Sundararajan
0b0eece256 8029090: Developers should be able to pass nashorn properties and enable/disable JFR from command line
Reviewed-by: jlaskey, lagergren
2013-11-25 18:40:02 +05:30
Athijegannathan Sundararajan
f066af3fe8 Merge 2013-11-22 08:52:45 +05:30
Christine Lu
6ed96d89bd Added tag jdk8-b117 for changeset b8948d89dc36 2013-11-21 09:23:15 -08:00
Marcus Lagergren
ea4af3f2f1 8028573: Line number nodes were off for while nodes and do while nodes - the line number of a loop node should be treated as the location of the test expression
Reviewed-by: attila, hannesw
2013-11-19 10:29:32 +01:00
Marcus Lagergren
19fd00c362 8028434: Line number nodes were off for while nodes and do while nodes - the line number of a loop node should be treated as the location of the test expression
Reviewed-by: jlaskey, sundar
2013-11-18 16:35:39 +01:00
Hannes Wallnöfer
1eafa03759 8028210: Missing conversions on array index expression
Reviewed-by: attila, jlaskey, lagergren
2013-11-16 00:23:46 +01:00
Lana Steuck
689ffbe8a8 Merge 2013-11-15 07:16:05 -08:00
Christine Lu
d6a50f5c76 Added tag jdk8-b116 for changeset 873d41f3369f 2013-11-14 09:05:27 -08:00
Athijegannathan Sundararajan
357597cba8 8028161: nashorn: src/jdk/nashorn/api/scripting/ScriptEngineTest.java
Reviewed-by: lagergren, hannesw
2013-11-14 15:53:49 +05:30
Athijegannathan Sundararajan
700852f48f Merge 2013-11-12 10:23:42 +05:30
Attila Szegedi
0e9bb40372 8028020: Function parameter as last expression in comma in return value causes bad type calculation
Reviewed-by: jlaskey, lagergren, sundar
2013-11-11 14:25:01 +01:00
Lana Steuck
ede8e211b5 Merge 2013-11-08 17:39:39 -08:00
Christine Lu
f038e13db1 Added tag jdk8-b115 for changeset 5f83d7dc1b34 2013-11-07 08:16:40 -08:00
Athijegannathan Sundararajan
69eda12c17 Merge 2013-11-07 18:11:12 +05:30
Athijegannathan Sundararajan
3b4737a6ba 8027828: ClassCastException when converting return value of a Java method to boolean
Reviewed-by: jlaskey, attila
2013-11-07 17:26:46 +05:30
Konstantin Shefov
f78f47b98d 8027708: NASHORN TEST: Create Nashorn test that draws image step-by-step using JavaFX canvas
Reviewed-by: jlaskey, lagergren
2013-11-05 13:09:40 +04:00
Athijegannathan Sundararajan
bd1eb169db Merge 2013-11-05 09:13:41 +05:30
Athijegannathan Sundararajan
d3e3eead18 8027753: Support ScriptObject to JSObject, ScriptObjectMirror, Map, Bindings auto-conversion as well as explicit wrap, unwrap
Reviewed-by: jlaskey, hannesw, attila
2013-11-04 18:52:22 +05:30
Magnus Ihse Bursie
4a3c30545b 8027566: Remove the old build system
Reviewed-by: erikj, tbell
2013-11-04 11:11:03 +01:00
Athijegannathan Sundararajan
54465cea72 Merge 2013-11-04 09:29:12 +05:30
Attila Szegedi
80f2daae7b 8027236: Ensure ScriptObject and ConsString aren't visible to Java
Reviewed-by: lagergren, sundar
2013-11-01 15:36:33 +01:00
Athijegannathan Sundararajan
1dbd6b1855 8027700: function redeclaration checks missing for declaration binding instantiation
Reviewed-by: jlaskey, lagergren
2013-11-01 19:54:48 +05:30
Lana Steuck
6b9f81a130 Merge 2013-10-31 16:47:09 -07:00
Christine Lu
d18e2073ae Added tag jdk8-b114 for changeset 348c2258d7bf 2013-10-31 12:36:38 -07:00
Athijegannathan Sundararajan
b0dc1b345a Merge 2013-10-31 12:50:17 +05:30
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
James Laskey
2339f59c14 8027532: nashorn should only use jdk8 apis in the compact1 profile
Reviewed-by: sundar, lagergren, hannesw
2013-10-30 11:28:46 -03:00
James Laskey
fe9288637c 8027447: The wrong string buffer is specified for stderr in $EXEC
Reviewed-by: lagergren, sundar
2013-10-29 14:22:44 -03:00
Jim Laskey
bd41e14c13 Merge 2013-10-29 10:40:00 -03:00
Lana Steuck
9979999118 Merge 2013-10-28 12:29:40 -07:00
Hannes Wallnöfer
93a855408a 8027301: Optimizations for Function.prototype.apply
Reviewed-by: jlaskey
2013-10-25 15:21:12 +02: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
Christine Lu
a394220a72 Added tag jdk8-b113 for changeset a3e196032ce5 2013-10-24 09:10:54 -07:00
Athijegannathan Sundararajan
5184202107 Merge 2013-10-23 20:21:23 +05:30
Athijegannathan Sundararajan
8a7395c4b8 8027150: ScriptObjectListAdapter won't work as expected
Reviewed-by: jlaskey, attila
2013-10-23 20:15:43 +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
a1f362d179 Merge 2013-10-22 22:12:24 +05:30
Athijegannathan Sundararajan
b9908d60b7 8027020: [regression] java.lang.VerifyError: Bad type on operand stack
Reviewed-by: jlaskey, attila
2013-10-22 22:04:46 +05:30
Attila Szegedi
d24b73ab43 8027037: Make ScriptObjectMirror conversions work for any JSObject
Reviewed-by: jlaskey, lagergren, sundar
2013-10-22 17:52:37 +02:00
Attila Szegedi
806a003cb6 8027031: complete merging of loads and converts
Reviewed-by: jlaskey, lagergren
2013-10-22 16:43:27 +02:00
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
Athijegannathan Sundararajan
3d0de0f6e8 Merge 2013-10-21 10:09:19 +05:30
Hannes Wallnöfer
ef6f8003c8 8026858: Array length does not handle defined properties correctly
Reviewed-by: jlaskey
2013-10-18 22:42:41 +02:00
Athijegannathan Sundararajan
a98e63edf4 Merge 2013-10-18 18:26:13 +05:30
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
Lana Steuck
ea0f7e197b Merge 2013-10-17 16:19:45 -07:00
Christine Lu
c9440bc8fc Added tag jdk8-b112 for changeset 49f23f00d4e6 2013-10-17 09:41:14 -07: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