Commit Graph

928 Commits

Author SHA1 Message Date
Athijegannathan Sundararajan
319aa4c4c5 8039387: Nashorn supports indexed access of List elements, but length property is not supported
Reviewed-by: lagergren, jlaskey
2014-04-07 21:57:33 +05:30
Hannes Wallnöfer
a9fb361904 8039181: Persistent code store does not use absolute paths internally
Reviewed-by: sundar, lagergren
2014-04-03 17:35:13 +02:00
David Katleman
e97f5d3818 Added tag jdk9-b07 for changeset dd19ff015a33 2014-04-02 22:00:15 -07:00
Hannes Wallnöfer
d801fbbc9d 8038638: Persistent store for compiled scripts
Reviewed-by: lagergren, sundar
2014-04-02 18:26:57 +02:00
Athijegannathan Sundararajan
79fba7993d 8039047: Parser accepts conditional catch clauses even when --no-syntax-extensions / -nse option is passed
Reviewed-by: lagergren, attila
2014-04-02 15:52:31 +05:30
Marcus Lagergren
d12e5e7d29 8039044: Expand undefined intrinsics for all commutative combinators of scrict undefined checks
Reviewed-by: jlaskey, hannesw
2014-04-02 10:52:39 +02:00
Lana Steuck
1eab51598e Merge 2014-04-01 17:28:17 -07:00
Marcus Lagergren
fd8e5653a0 8038945: Simplify strict undefined checks
Reviewed-by: jlaskey, hannesw
2014-04-01 16:12:38 +02:00
Marcus Lagergren
1584dc799c 8038799: Guard and unbox boxed primitives types on setting them in Properties to avoid megamorphisism
Reviewed-by: attila, jlaskey
2014-04-01 11:19:32 +02:00
Marcus Lagergren
379d9f239f 8027043: Turn global accesses into MethodHandle.constant, with one chance of reassignment, e.g. x = value occuring once in the global scope is ok, twice is not
Reviewed-by: attila, sundar, jlaskey
2014-03-31 14:13:34 +02:00
Athijegannathan Sundararajan
0a8095d53a 8038615: test262 repo is now a git repo in github
Reviewed-by: lagergren, hannesw
2014-03-28 13:24:07 +05:30
David Katleman
1c09424c5e Added tag jdk9-b06 for changeset 6bb719005d47 2014-03-27 11:38:41 -07:00
Athijegannathan Sundararajan
7ea75c6bbb 8038456: improve nasgen type checks and use specific return type for @Function, @SpecializedFunctio methods
Reviewed-by: lagergren, jlaskey
2014-03-27 19:39:18 +05:30
Attila Szegedi
e0f84784f2 8038416: Access to undefined scoped variables deoptimized too much
Reviewed-by: jlaskey, lagergren
2014-03-27 14:09:40 +01:00
Marcus Lagergren
f6722c9a3f 8038406: Testability: as a first step of moving loggers away from the process global space, the Debug object now supports logging POJOs from log entries as an event queue, which can be introspected from test scripts. This is way better than screen scraping brittle and subject-to-change log output
Reviewed-by: attila, hannesw, sundar
2014-03-27 11:45:54 +01:00
Attila Szegedi
f6aada536e 8038396: fix for the compiler expression evaluator to be more inquisitive about types
Reviewed-by: hannesw, lagergren
2014-03-26 15:00:32 +01:00
Lana Steuck
411b9b7846 Merge 2014-03-25 14:52:34 -07:00
Lana Steuck
e39a0f47d0 Merge 2014-03-25 12:31:54 -07:00
Attila Szegedi
0cbec476dd 8037534: Use scope types to determine optimistic types
Reviewed-by: hannesw, lagergren
2014-03-24 18:41:06 +01:00
Attila Szegedi
a7394f09e5 8038223: Symbol trace debug output takes time
Reviewed-by: hannesw, lagergren
2014-03-24 18:40:11 +01:00
Attila Szegedi
85bc811235 Merge 2014-03-21 17:52:03 +01:00
Athijegannathan Sundararajan
4036a466ca 8037562: Nashorn: JSON.parse comes up with nonexistent entries if there are gaps between the keys
Reviewed-by: jlaskey, hannesw
2014-03-21 20:24:01 +05:30
David Katleman
c17681a17e Added tag jdk9-b05 for changeset 9471aad8444f 2014-03-20 13:44:54 -07:00
Marcus Lagergren
6c44c81a95 8037967: Broke the build, by commiting without saving the last review comment
Reviewed-by: jlaskey, hannesw
2014-03-20 16:26:54 +01:00
Marcus Lagergren
ca1752f337 8033334: Make sure that scope depth information is maintained in the RecompilableScriptFunctionDatas, to avoid unnecessary slow proto linkage when doing on demand compilation
Compute RecompiledScriptFunctionDatas eagerly, annotate them with scope depth information and use them in recompilations.

Reviewed-by: attila, hannesw, jlaskey
2014-03-20 16:16:42 +01:00
Matherey Nunez
71ded92863 8037779: NoPersistenceCachingTest fails with ant test
Reviewed-by: sundar, hannesw
2014-03-19 16:01:19 +01:00
Lana Steuck
8f22b7676c Merge 2014-03-18 17:49:48 -07:00
Matherey Nunez
2937094508 8037378: Write sanity tests for bytecode persistence feature
Reviewed-by: sundar, hannesw
2014-03-17 18:27:30 +01:00
Matherey Nunez
42f5d9558a 8037086: Check that deoptimizing recompilations are correct
Reviewed-by: attila, lagergren
2014-03-17 15:05:18 +01:00
Athijegannathan Sundararajan
e34f74421a 8037400: Remove getInitialMap getters and GlobalObject interface
Reviewed-by: lagergren, jlaskey, attila
2014-03-17 18:02:00 +05:30
Matherey Nunez
ba6fce6273 8036986: Test should check that correctly type is returned running with optimistic. If optimistic assumption was wrong we should get the right one
This uses the inspection framework for generated code to ensure optimisim.

Reviewed-by: attila, lagergren
2014-03-14 14:27:32 +01:00
Athijegannathan Sundararajan
572d581262 8015958: DataView constructor is not defined
Reviewed-by: attila, hannesw, lagergren
2014-03-13 15:58:24 +05:30
Hannes Wallnöfer
6f1436baa2 8034055: delete on global object not properly guarded
Reviewed-by: sundar, lagergren
2014-03-12 16:33:28 +01:00
Hannes Wallnöfer
5c683d18a4 8021350: Share script classes between threads/globals within context
Reviewed-by: lagergren, sundar
2014-03-12 11:26:00 +01:00
Marcus Lagergren
76bde64811 8037177: -Dnashorn.optimistic should be enabled by default, meaning that it has to be explicitly set to false to run with the jdk 8 style conservative types
This will be the new default setting, so the explicit flag should be removed, and instead reverse checked for explicitly DISABLED optimistic types. In the future, we might remove the flag altogether.

Reviewed-by: attila, hannesw
2014-03-12 10:31:22 +01:00
David Katleman
bcc0d72114 Added tag jdk9-b04 for changeset 7825ce9a8228 2014-03-11 15:42:07 -07:00
Phil Race
b10430f917 Merge 2014-03-07 10:59:02 -08:00
Lana Steuck
9a68bc713a Merge 2014-03-06 10:42:02 -08:00
Marcus Lagergren
9d927196e8 8036127: Prototype filter needs to be applied to getter guard as well, not just getter
This manifests itself as a bug in optimistic types, as inner functions may access properties of the wrong type, but it is also a bug in tip. Without optimistic types, we have been unable to find a reproducer due to more similar PropertyMaps

Reviewed-by: attila, jlaskey, sundar
2014-03-05 09:51:00 +01:00
Hannes Wallnöfer
3b5ca2458c 8035948: Redesign property listeners for shared classes
Reviewed-by: sundar, lagergren
2014-03-03 15:23:01 +01:00
Marcus Lagergren
8d4fc394e0 8035836: Array performance improvements
Implement typed arrays with native byte buffers and do fast linking for all continuous arrays

Reviewed-by: attila, jlaskey, sundar, hannesw
2014-03-03 11:24:44 +01:00
Phil Race
8142c9fac2 Merge 2014-02-27 10:38:22 -08:00
Attila Szegedi
e9e7dd2ec1 8035820: Optimistic recompilation
Co-authored-by: Marcus Lagergren <marcus.lagergren@oracle.com>
Reviewed-by: hannesw, jlaskey, sundar
2014-02-26 13:17:57 +01:00
Athijegannathan Sundararajan
18489cc7a4 8030197: Nashorn: Object.defineProperty() can be lured to change fixed NaN property
Reviewed-by: attila, jlaskey
2014-02-25 18:56:10 +05:30
Lana Steuck
752a14ca48 Merge 2014-02-24 13:06:33 -08:00
David Katleman
090c57164e Added tag jdk9-b03 for changeset fdf4454a8368 2014-02-21 11:40:55 -08:00
Athijegannathan Sundararajan
ff64022738 8034962: Dynalink to handle superclasses more carefully
Reviewed-by: ahgross, attila, jlaskey
2014-02-21 10:31:40 +05:30
Athijegannathan Sundararajan
1110a73114 8033745: Reflect upon Nashorn reflection
Reviewed-by: ahgross, attila, jlaskey
2014-02-21 10:01:59 +05:30
Hannes Wallnöfer
2194adb36b 8030200: Wrong result for Number.prototype.toString() for certain radix/inputs
Reviewed-by: sundar, jlaskey, lagergren
2014-04-14 17:45:05 +02:00
Hannes Wallnöfer
08bec4bee8 8030199: Nashorn: Uint8ClampedArray - Incorrect ToUint8Clamp implementation
Reviewed-by: sundar, jlaskey, lagergren
2014-04-14 17:43:38 +02:00
Lana Steuck
54988a3597 Merge 2014-02-20 20:00:48 -08:00
Phil Race
f2f5185ce1 Merge 2014-02-20 16:26:49 -08:00
Phil Race
972758ee0f Merge 2014-02-11 14:43:40 -08:00
Lana Steuck
416812fa2b Merge 2014-02-11 11:25:18 -08:00
Matherey Nunez
615623c473 8033231: test fails with java.lang.UnsatisfiedLinkError
Reviewed-by: attila, sundar
2014-02-11 12:05:22 +01:00
Volker Simonis
ce89103d32 8033951: nasgen needs the newly build nasgen and nashorn classes in the bootclasspath
Reviewed-by: erikj
2014-02-10 10:52:02 +01:00
Athijegannathan Sundararajan
118cf2ba60 8033924: Default permissions are not given for eval code
Reviewed-by: lagergren, jlaskey
2014-02-07 18:47:46 +05:30
David Katleman
b7addf4329 Added tag jdk9-b02 for changeset 81bb5f538220 2014-02-06 13:09:43 -08:00
Athijegannathan Sundararajan
3dd998447a 8033763: Add tests to assert map identity of certain objects
Reviewed-by: hannesw, lagergren
2014-02-06 17:44:37 +05:30
Attila Szegedi
281b87b796 8032681: Issues with Nashorn
Reviewed-by: ahgross, jlaskey, sundar
2014-01-30 20:13:27 +01:00
Athijegannathan Sundararajan
ea24aa581b 8032948: Nashorn linkages awry
Reviewed-by: jlaskey, attila, ahgross
2014-01-30 19:28:40 +05:30
Athijegannathan Sundararajan
6d897ac7a8 8032954: Nashorn: extend Java.extend
Reviewed-by: jlaskey, attila, ahgross
2014-01-30 18:49:47 +05:30
Athijegannathan Sundararajan
3d9115510c 8032943: Improve reflection in Nashorn
Reviewed-by: jlaskey, attila, ahgross
2014-01-30 18:26:15 +05:30
Jeff Dinkins
4dc0e46cb2 8032816: THIRDPARTYREADME LittleCMS preamble missing JRE 8 & JDK 8
Reviewed-by: lana
2014-01-28 20:10:23 +00:00
Lana Steuck
ed4238e046 Merge 2014-01-27 21:01:55 -08:00
David Katleman
8e5696aae1 Added tag jdk9-b01 for changeset ae2d94255f32 2014-01-21 18:17:23 -08:00
Alexander Zuev
0122a311f1 Merge 2014-01-20 20:42:45 +04:00
Alexander Zuev
83266bbadf Merge 2014-01-20 20:42:34 +04:00
Athijegannathan Sundararajan
86a64a99fd 8032068: implement @sourceURL and #sourceURL directives
Reviewed-by: hannesw, lagergren
2014-01-20 19:51:54 +05:30
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
Athijegannathan Sundararajan
6f18b79fdc Merge 2013-10-17 13:02:07 +05:30
David Katleman
3ff67f3133 Merge 2013-10-16 12:05:13 -07: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
Athijegannathan Sundararajan
1f8726f7e6 Merge 2013-10-15 22:13:56 +05:30
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
2cb1e4ed46 Merge 2013-10-11 14:13:00 +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
Lana Steuck
cc7c1f2717 Merge 2013-10-11 03:09:54 -07: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
4c22705313 Merge 2013-10-11 09:09:13 +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
Lana Steuck
717d782836 Merge 2013-10-10 13:41:19 -07:00
Athijegannathan Sundararajan
66bb0d28fa 8026264: Getter, setter function name mangling issues
Reviewed-by: lagergren, jlaskey
2013-10-10 21:43:35 +02:00
Christine Lu
cfdd010545 Added tag jdk8-b111 for changeset 99b8dd0c81a3 2013-10-10 10:09:30 -07:00
Marcus Lagergren
e0aeb3cfb7 8026250: Logging nullpointer bugfix and javadoc warnings
Reviewed-by: hannesw, jlaskey, sundar
2013-10-10 16:16:20 +02:00
Magnus Ihse Bursie
65be173f17 8001931: The new build system whitespace cleanup
Reviewed-by: tbell, simonis, erikj
2013-10-10 14:58:13 +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
Lana Steuck
3078374d13 Merge 2013-10-08 15:00:12 -07:00