Commit Graph

178 Commits

Author SHA1 Message Date
Athijegannathan Sundararajan
44b017bd90 8076646: nashorn tests should avoid using package names used by nashorn sources
Reviewed-by: hannesw
2015-04-03 19:09:34 +05:30
Magnus Ihse Bursie
ba7242fdab 8076060: Improve make bootstrap process
Reviewed-by: erikj
2015-03-26 16:17:38 +01:00
Erik Joelsson
ff31cfd5ce 8074988: Reduce boilerplate in Setup* macro definitions
Reviewed-by: tbell, ihse
2015-03-12 12:13:53 +01:00
Athijegannathan Sundararajan
0ed9eb856c 8074671: Nashorn Parser API
Reviewed-by: darcy, forax, attila, hannesw
2015-03-09 20:14:10 +05:30
Attila Szegedi
2972cb3840 8074491: run-nasgen in ant doesn't see the right Nashorn classes
Reviewed-by: hannesw, lagergren
2015-03-06 09:59:07 +01:00
Attila Szegedi
d76b6c183d 8073560: Update BuildNashorn.gmk to require source/target 8 for jdk9 build
Reviewed-by: sundar
2015-02-20 17:18:47 +01:00
Attila Szegedi
0a6d13699b 8072426: Can't compare Java objects to strings or numbers
Reviewed-by: hannesw, lagergren, sundar
2015-02-20 15:47:28 +01:00
Sergey Lugovoy
d1c194480f 8069182: Nightly test results are empty for targets test262/markdown/testjfx
Reviewed-by: sundar, lagergren
2015-02-10 13:10:07 +03:00
Athijegannathan Sundararajan
d6ea52ffc7 8067777: NetBeans nashorn debug target is broken. Nashorn source directory config. is wrong
Reviewed-by: lagergren, attila
2014-12-17 17:15:14 +05:30
Athijegannathan Sundararajan
f73717b021 8067636: ant javadoc target is broken
Reviewed-by: hannesw, lagergren
2014-12-16 14:06:32 +05:30
Athijegannathan Sundararajan
f42d5e85e3 8066749: jdk9-dev/nashorn ant build fails with jdk9 modular image build as JAVA_HOME
Reviewed-by: lagergren, hannesw
2014-12-05 14:35:00 +05:30
Athijegannathan Sundararajan
949112fab2 8066683: nashorn test failures after modular image changes
Reviewed-by: attila, jlaskey
2014-12-04 20:40:48 +05:30
Chris Hegarty
174f2cfc80 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:26:07 +00:00
Attila Szegedi
ed690e7835 8064467: type info persistence failed to calculate directory name
Reviewed-by: hannesw, lagergren
2014-11-11 16:17:37 +01:00
Athijegannathan Sundararajan
aeed202b0b 8061257: nashorn ant build script should have a sanity target
Reviewed-by: lagergren, hannesw, attila
2014-10-20 13:27:22 +05:30
Attila Szegedi
a891de3114 8060238: Reports for optimistic test run overwrite those for pessimistic run
Reviewed-by: hannesw, lagergren, sundar
2014-10-14 13:04:56 +02:00
Marcus Lagergren
8d304985e6 8059811: Turn off optimistic typing by default and add both ant test-pessimistic and ant test-optimistic sub-test suites
Reviewed-by: attila, shade, hannesw
2014-10-09 10:19:24 +02:00
Erik Joelsson
192376f622 8059135: New Nasgen dependencies to Nashorn breaks the JDK 9 build - bootstrapping problem?
Reviewed-by: tbell, attila, lagergren
2014-10-03 10:37:12 +02:00
Hannes Wallnöfer
7ecdd47620 8051889: Implement block scoping in symbol assignment and scope computation
Reviewed-by: attila, lagergren
2014-09-04 15:37:14 +02:00
Sergey Lugovoy
279e660367 8055878: Nashorn: all tests failed with AccessControlException
Reviewed-by: sundar, hannesw
2014-08-25 17:38:53 +04:00
Athijegannathan Sundararajan
017d321931 8055762: Nashorn misses linker for netscape.javascript.JSObject instances
Reviewed-by: lagergren, jlaskey
2014-08-21 20:06:48 +05:30
Athijegannathan Sundararajan
fa78f33af1 8055395: Nashorn should use source, target to be 1.8 and use ASM5 version for generated code
Reviewed-by: attila, lagergren, jlaskey
2014-08-19 18:14:45 +05:30
Hannes Wallnöfer
47a0c94d3f 8055368: Ant build broken after modular source code change
Reviewed-by: attila, sundar, lagergren
2014-08-19 11:25:14 +02:00
Chris Hegarty
57d4d0207b Merge 2014-08-18 10:59:40 +01:00
Chris Hegarty
5fe51a5b71 8054834: Modular Source Code
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Reviewed-by: alanb, chegar, ihse, mduigou
2014-08-17 15:56:32 +01:00
Athijegannathan Sundararajan
f2ebff72ba 8054993: type info cache may be disabled for test262 and tests explicitly changing that property should use @fork
Reviewed-by: lagergren, hannesw
2014-08-13 15:00:24 +05:30
Athijegannathan Sundararajan
a603833464 8054503: test/script/external/test262/test/suite/ch12/12.6/12.6.4/12.6.4-2.js fails with tip
Reviewed-by: jlaskey, hannesw, attila
2014-08-11 20:35:21 +05:30
Athijegannathan Sundararajan
3b73e95849 8054651: Global.initConstructor and ScriptFunction.getPrototype(Object) can have stricter types
Reviewed-by: attila, jlaskey, hannesw
2014-08-08 19:07:17 +05:30
Hannes Wallnöfer
a8ece5cffc 8043956: Make code caching work with optimistic typing and lazy compilation
Reviewed-by: attila, lagergren
2014-08-08 12:50:46 +02:00
Athijegannathan Sundararajan
35c5f0ad5d 8051346: Test262 tests for ECMAScript 5 now in branch "es5-tests"
Reviewed-by: attila, hannesw
2014-08-07 19:19:46 +05:30
Lev Priima
a27f5c073f 8051019: Separate src and test execution sandbox directories
Reviewed-by: jlaskey
2014-07-18 16:53:17 +05:30
Athijegannathan Sundararajan
4323d2ade5 8050964: OptimisticTypesPersistence.java should use java.util.Date instead of java.sql.Date
Reviewed-by: jlaskey
2014-07-17 16:47:06 +05:30
Athijegannathan Sundararajan
81f8f93225 8047359: large string size RangeError should be thrown rather than reporting negative length
Reviewed-by: hannesw, attila
2014-07-01 17:37:39 +05:30
Athijegannathan Sundararajan
90b667d865 8047728: (function(x){var o={x:0}; with(o){delete x} return o.x})() evaluates to 0 instead of undefined
Reviewed-by: jlaskey, hannesw, attila
2014-06-23 21:23:53 +05:30
Attila Szegedi
f4c68a9cfc 8046921: Deoptimization type information peristence
Reviewed-by: hannesw, lagergren
2014-06-20 12:25:00 +02:00
Marcus Lagergren
ede81f43f7 8046898: Make sure that lazy compilation is the default, remove redundant "enable lazy compilation" flags, added warning message if compile logging is enabled and lazy is switched off. Verified existing test suite code coverage equivalence between lazy and eager
Reviewed-by: attila, hannesw
2014-06-17 11:37:03 +02:00
Jaroslav Tulach
9e1754581f 8044517: Run & debug single Nashorn test
Reviewed-by: lagergren, attila
2014-06-12 17:39:09 +05:30
Attila Szegedi
52ac2452d0 8044502: Get rid of global optimistic flag
Reviewed-by: lagergren, sundar
2014-06-04 14:32:23 +02:00
Attila Szegedi
2ff2ad2750 Merge 2014-06-02 17:36:43 +02:00
Athijegannathan Sundararajan
07b40bb298 8044415: ant makefile should have a target to generate javadoc only for jdk.nashorn.api and sub-packages
Reviewed-by: jlaskey
2014-05-30 17:22:38 +05:30
Attila Szegedi
9fb4c3accc Merge 2014-05-28 16:53:43 +02:00
Marcus Lagergren
d4287c2288 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
Reviewed-by: attila, sundar
2014-05-28 13:58:46 +02:00
Marcus Lagergren
a6e90a4ba3 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
Reviewed-by: jlaskey, sundar
2014-05-27 21:25:07 +02:00
Sergey Lugovoy
c1d46ac985 8028615: jdk.nashorn.x3::some.serious.failure needs more memory to run
Reviewed-by: attila, sundar
2014-05-22 11:12:29 +02:00
Marcus Lagergren
b4b7b4e53d 8043632: Parallelize class installation and various script fixes
Reviewed-by: sundar, attila
2014-05-21 16:12:40 +02:00
Athijegannathan Sundararajan
db62a418b3 8043443: Test framework changes to run script tests without security manager
Reviewed-by: attila
2014-05-20 08:32:09 +05:30
Matherey Nunez
4470510f04 8044154: Nashorn : all tests failed with java.security.AccessControlException
Reviewed-by: attila, sundar
2014-05-14 15:50:04 +02:00
Athijegannathan Sundararajan
309274646c 8043132: Nashorn : all tests failed with java.security.AccessControlException
Reviewed-by: jlaskey, attila
2014-05-14 19:01:05 +05:30
Attila Szegedi
85bc811235 Merge 2014-03-21 17:52:03 +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
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
Phil Race
972758ee0f Merge 2014-02-11 14:43:40 -08: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
3dd998447a 8033763: Add tests to assert map identity of certain objects
Reviewed-by: hannesw, lagergren
2014-02-06 17:44:37 +05:30
Athijegannathan Sundararajan
dffad236b0 Merge 2014-01-14 14:18:24 +05:30
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
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
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
Magnus Ihse Bursie
4a3c30545b 8027566: Remove the old build system
Reviewed-by: erikj, tbell
2013-11-04 11:11:03 +01:00
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
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
be135d2901 8025771: Enhance Nashorn Contexts
Reviewed-by: jlaskey, hannesw
2013-10-04 16:21:29 +05:30
Athijegannathan Sundararajan
5c16d54797 8025629: load function should support a way to load scripts from classpath
Reviewed-by: lagergren, hannesw, attila
2013-09-30 21:33:38 +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
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
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
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
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
Hannes Wallnöfer
77a2559593 8020719: Run tests with reduced splitter threshold
Reviewed-by: lagergren, sundar, jlaskey
2013-07-26 13:50:52 +02:00
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
Attila Szegedi
566991e98e 8020820: Limit access to static members of reflective classes
Reviewed-by: jlaskey, sundar
2013-07-18 16:47:45 +02:00
Konstantin Shefov
3485b7bc5c 8017585: Exclude two failing tests from Nashorn CC run
Reviewed-by: jlaskey, sundar, attila
2013-07-16 17:40:15 -03:00
Athijegannathan Sundararajan
f0144d9d93 8020325: static property does not work on accessible, public classes
Reviewed-by: attila, hannesw, lagergren
2013-07-11 16:34:55 +05:30
Athijegannathan Sundararajan
0a7fda8dbe 8020015: shared PropertyMaps should not be used without duplication
Reviewed-by: hannesw, attila
2013-07-08 16:33:50 +05:30
Athijegannathan Sundararajan
1853f28ab3 8019947: inherited property invalidation does not work with two globals in same context
Reviewed-by: jlaskey, lagergren, hannesw, attila
2013-07-05 14:38:04 +05:30
Attila Szegedi
92bcfea39a 8010946: AccessControl.doPrivileged is broken when called from js script
Reviewed-by: jlaskey, sundar
2013-07-03 12:39:28 +02:00
Eugene Drobitko
e8a1440b91 8019580: Build Script Change for Nashorn promotion testing
Reviewed-by: jlaskey
2013-07-02 07:45:16 -03:00
Athijegannathan Sundararajan
135319a5f0 8016550: nashorn.option.no.syntax.extensions has the wrong default
Reviewed-by: hannesw, lagergren
2013-06-17 13:56:05 +05:30
Athijegannathan Sundararajan
993430afb0 8005979: A lot of tests are named "runTest" in reports
Reviewed-by: jlaskey
2013-05-29 15:41:07 +05:30
Marcus Lagergren
d1cfaae2c6 8015447: Octane harness fixes for rhino and entire test runs: ant octane, ant octane-v8, ant octane-rhino
Reviewed-by: sundar, jlaskey
2013-05-27 17:57:07 +02:00
Marcus Lagergren
a34fd412c5 8014219: Make the run-octane harness more deterministic by not measuring elapsed time every iteration. Also got rid of most of the run logic in base.js and call benchmarks directly for the same purpose
Reviewed-by: jlaskey, attila
2013-05-27 13:11:13 +02:00
Athijegannathan Sundararajan
5bf7dac8d7 8015351: Nashorn shell does not start with Turkish locale
Reviewed-by: jlaskey
2013-05-24 23:27:52 +05:30
Athijegannathan Sundararajan
32261c12b2 8014909: ant test compilation error with JoniTest.java
Reviewed-by: jlaskey
2013-05-20 23:04:01 +05:30
Hannes Wallnöfer
2c97733af0 8012359: Increase code coverage in Joni
Reviewed-by: jlaskey, lagergren
2013-05-16 19:52:39 +02:00
James Laskey
e5be7a02ea 8014648: Exclude testing and infrastructure packages from code coverage, round two
Reviewed-by: sundar
2013-05-15 12:09:38 -03:00
Attila Szegedi
3710d6fcf6 8014639: Remove debug flag from test runs
Reviewed-by: hannesw, lagergren
2013-05-15 10:28:18 +02:00
Jim Laskey
ac2472f0f8 Merge 2013-05-14 11:16:52 -03:00
James Laskey
df78dbbf73 8014512: Exclude testing and infrastructure packages from code coverage
Reviewed-by: sundar
2013-05-14 11:15:12 -03:00
Attila Szegedi
52d2511fed 8014225: Rerun only failed 262 tests
Reviewed-by: jlaskey, lagergren
2013-05-08 16:48:33 +02:00
Marcus Lagergren
c668214703 8013914: Removed explicit LineNumberNodes that were too brittle when code moves around, and also introduced unnecessary footprint. Introduced the Statement node and fixed dead code elimination issues that were discovered by the absense of labels for LineNumberNodes
Reviewed-by: jlaskey, attila
2013-05-07 14:43:17 +02:00
Athijegannathan Sundararajan
cae93c2746 8013369: nashorn build failure with jdk8 b84
Reviewed-by: hannesw
2013-04-26 22:29:11 +05:30
James Laskey
b8f4f275b4 8012529: Remove -esa from testing jvmargs
Reviewed-by: sundar
2013-04-17 15:36:48 -03:00
James Laskey
53d40472c2 8011233: Create a Nashorn shell for JavaFX
Reviewed-by: lagergren, sundar
2013-04-02 11:37:22 -03:00
Athijegannathan Sundararajan
db89cafb53 8011063: With older ant, we get the error "The <property> type doesn't support nested text data ("${run.te...jvmargs}")."
Reviewed-by: hannesw, ksrini
2013-03-29 18:38:27 +05:30
Attila Szegedi
7188961426 8010652: Eliminate non-child references in Block/FunctionNode, and make few node types immutable
Reviewed-by: jlaskey, lagergren
2013-03-23 00:58:39 +01:00