Commit Graph

392 Commits

Author SHA1 Message Date
Attila Szegedi
85bc811235 Merge 2014-03-21 17:52:03 +01:00
Matherey Nunez
71ded92863 8037779: NoPersistenceCachingTest fails with ant test
Reviewed-by: sundar, hannesw
2014-03-19 16:01:19 +01: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
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
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
Athijegannathan Sundararajan
1dd97ac6e7 8011964: need indexed access to externally-managed ByteBuffer
Reviewed-by: lagergren, hannesw
2014-02-14 19:02:02 +05:30
Matherey Nunez
615623c473 8033231: test fails with java.lang.UnsatisfiedLinkError
Reviewed-by: attila, sundar
2014-02-11 12:05:22 +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
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
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
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
Athijegannathan Sundararajan
d7d8810466 8031715: Indexed access to java package not working
Reviewed-by: lagergren, hannesw
2014-01-15 14:51:49 +05:30
Athijegannathan Sundararajan
dffad236b0 Merge 2014-01-14 14:18:24 +05:30
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
ab0a342a89 8031106: Nashorn: IndexOutOfBoundsException in NashornCallSiteDescriptor.getNameToken()
Reviewed-by: hannesw, jlaskey
2014-01-03 10:09:48 +05:30
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
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
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
31006e8d33 8029364: NashornException to expose thrown object
Reviewed-by: lagergren, jlaskey
2013-12-02 18:19:26 +05:30
Athijegannathan Sundararajan
f066af3fe8 Merge 2013-11-22 08:52:45 +05:30
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
Athijegannathan Sundararajan
357597cba8 8028161: nashorn: src/jdk/nashorn/api/scripting/ScriptEngineTest.java
Reviewed-by: lagergren, hannesw
2013-11-14 15:53:49 +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
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
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
Athijegannathan Sundararajan
700852f48f Merge 2013-11-12 10:23:42 +05:30
Athijegannathan Sundararajan
69eda12c17 Merge 2013-11-07 18:11:12 +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
54465cea72 Merge 2013-11-04 09:29:12 +05:30