Commit Graph

45 Commits

Author SHA1 Message Date
Chris Hegarty
072178cc9c Merge 2016-03-22 10:52:12 +00:00
Srinivas Dama
48be0d0b0d 8147613: enable jjs tests on Windows
Reviewed-by: lagergren, mhaupt
2016-03-21 12:38:23 +01:00
Alan Bateman
9a9e272b1d 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Reviewed-by: mhaupt, hannesw
2016-03-17 19:04:35 +00:00
Michael Haupt
3b675d58d4 8151518: relax test requirements to reduce dependency on directory contents
Reviewed-by: hannesw, sundar
2016-03-09 15:15:29 +01:00
Michael Haupt
e53b5a35be 8151291: $EXEC yields "unknown command" on Cygwin
Reviewed-by: jlaskey, hannesw, sdama
2016-03-09 13:24:01 +01:00
Michael Haupt
ae0daf5c8b 8149334: JSON.parse(JSON.stringify([])).push(10) creates an array containing two elements
Reviewed-by: jlaskey, sundar
2016-02-08 17:43:02 +01:00
Athijegannathan Sundararajan
cedd845b27 8148926: Call site profiling fails on braces-wrapped anonymous function
Reviewed-by: jlaskey, hannesw
2016-02-04 17:42:46 +05:30
Hannes Wallnöfer
80b266507c 8148040: jjs -fx test does not exit
Reviewed-by: mhaupt, sundar
2016-01-22 17:01:41 +01:00
Srinivas Dama
a5d096be2e 8144113: enable jjs testing
Reviewed-by: mhaupt, sundar
2016-01-20 09:56:29 +01:00
Michael Haupt
56fb28f292 8145305: fix Nashorn shebang handling on Cygwin
Reviewed-by: hannesw, sundar
2016-01-18 11:31:43 +01:00
Michael Haupt
1689985910 8036977: Make process singleton options to be context wide
The bug was fixed in an earlier change. This change contributes a test.

Reviewed-by: hannesw, sundar
2016-01-14 10:55:26 +01:00
Hannes Wallnöfer
dd9c62130f 8143896: java.lang.Long is implicitly converted to double
Reviewed-by: mhaupt, jlaskey
2016-01-12 16:30:10 +01:00
Hannes Wallnöfer
ff26874c25 8146888: Wrong license headers in test files
Reviewed-by: mhaupt, jlaskey
2016-01-12 15:38:07 +01:00
Hannes Wallnöfer
67fe9c8efe 8144020: Remove long as an internal numeric type
Reviewed-by: attila, sundar, lagergren
2015-12-14 14:27:46 +01:00
Michael Haupt
64634dc9a4 8144221: fix Nashorn shebang argument handling on Mac/Linux
Reviewed-by: jlaskey, lagergren
2015-12-14 14:02:59 +01:00
Hannes Wallnöfer
26fc600426 8138882: Performance regression due to anonymous classloading
Reviewed-by: attila, sundar
2015-10-05 18:58:21 +02:00
Michael Haupt
089307f286 8134484: disallow backquotes as heredoc end marker delimiters
Reviewed-by: attila, sundar
2015-08-26 13:11:35 +02:00
Michael Haupt
f6fe25800c 8073613: Here documents: how to avoid string interpolation?
Support heredoc end marker quoting like in bash

Reviewed-by: attila, hannesw
2015-08-26 09:59:29 +02:00
Athijegannathan Sundararajan
67e6d1bad0 8133624: Move JDK-8055034.js and JDK-8130127.js to currently-failing directory to exclude from test run
Reviewed-by: jlaskey, hannesw
2015-08-14 18:48:26 +05:30
Michael Haupt
6980a8e4cc 8130306: enable running Nashorn test on Windows
Fix executable name (add .exe suffix)

Reviewed-by: hannesw, sundar
2015-07-02 11:09:20 +02:00
Michael Haupt
eacc58bf85 8130127: streamline input parameter of Nashorn scripting $EXEC function
Handle null and undefined correctly, do not coerce them to strings

Reviewed-by: lagergren, sundar
2015-07-01 16:26:25 +02:00
Michael Haupt
cd3974600b 8080087: Nashorn $ENV.PWD is originally undefined
On Windows, the PWD environment variable does not exist and cannot be imported in scripting mode, so it is set explicitly.

Reviewed-by: lagergren, sundar
2015-06-05 12:38:53 +02:00
Michael Haupt
6a8c6779ea 8080471: fix usage of replace and file separator in Nashorn tests
Two tests should use replace instead of replaceAll, and there is a typo in the usage of File.separator.

Reviewed-by: attila, hannesw
2015-05-15 10:21:48 +02:00
Hannes Wallnöfer
b3fa231c01 8078049: Nashorn crashes when attempting to start TypeScript compiler
Reviewed-by: lagergren, attila
2015-05-05 14:23:43 +02:00
Hannes Wallnöfer
2cbce413a0 8067215: Disable dual fields when not using optimistic types
Reviewed-by: attila, lagergren
2015-04-10 14:18:31 +02:00
Sergey Lugovoy
540bb21731 8075240: Output of some tests contains platform specific line break
Reviewed-by: sundar
2015-03-25 14:39:39 +03:00
Sergey Lugovoy
b7d77b1297 8068306: Tests for AST presentation Nashorn Parser API
8068304: Tests for Diagnostic listener for Nashorn Parser API
8068303: Create tests for Nashorn Parser API for create Tree from some different source and parameters

Reviewed-by: sundar, lagergren
2015-03-20 13:19:47 +03:00
Athijegannathan Sundararajan
f75ee76af6 8075448: nashorn parser API returns init variable tree object of a for loop after for loop statement tree object
Reviewed-by: lagergren, hannesw, attila
2015-03-18 21:54:58 +05:30
Athijegannathan Sundararajan
cf37646b3f 8075207: Nashorn parser API returns StatementTree objects in out of order
Reviewed-by: lagergren, forax, hannesw
2015-03-16 17:01:47 +05:30
Athijegannathan Sundararajan
0ed9eb856c 8074671: Nashorn Parser API
Reviewed-by: darcy, forax, attila, hannesw
2015-03-09 20:14:10 +05:30
Athijegannathan Sundararajan
369861355d 8066696: test/script/nosecurity/JDK-8055034.js -Xbootclasspath option is wrong
Reviewed-by: attila, lagergren
2014-12-04 21:52:58 +05:30
Chris Hegarty
2dbed37b5e Merge 2014-12-03 17:55:36 +00:00
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
Sergey Lugovoy
42c6853ed1 8062638: RuntimeException when run command from js with -scripting on Cygwin
Reviewed-by: hannesw, lagergren
2014-11-17 14:57:28 +03:00
Athijegannathan Sundararajan
6427d424c8 8060688: Nashorn: Generated script class name fails --verify-code for names with special chars
Reviewed-by: jlaskey, hannesw
2014-10-15 19:50:03 +05:30
Athijegannathan Sundararajan
2d6eed916f 8050977: Java8 Javascript Nashorn exception: no current Global instance for nashorn
Reviewed-by: attila, lagergren, hannesw
2014-10-13 23:38:49 +05:30
Attila Szegedi
9227b18d8a 8055199: Tidy up Nashorn codebase for code standards (August 2014)
Reviewed-by: hannesw, lagergren
2014-08-15 17:30:49 +02:00
Athijegannathan Sundararajan
983051a456 8055139: test/script/trusted/JDK-8055107.js fails with access control exception
Reviewed-by: lagergren, attila, jlaskey
2014-08-14 20:14:54 +05:30
Athijegannathan Sundararajan
a98a0d19e1 8055034: jjs exits interactive mode if exception was thrown when trying to print value of last evaluated expression
Reviewed-by: jlaskey, attila
2014-08-13 21:03:37 +05:30
Hannes Wallnöfer
f71b48d575 8044851: nashorn properties leak memory
Reviewed-by: attila, jlaskey, lagergren
2014-08-12 13:22:05 +02:00
Athijegannathan Sundararajan
a55d1b4b75 8053908: jdeps is not PATH on Mac, results in ant clean test failure on Mac
Reviewed-by: hannesw, jlaskey
2014-07-31 18:14:46 +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
5de5a29808 8044798: API for debugging Nashorn
Reviewed-by: jlaskey, hannesw
2014-06-11 08:53:35 +05:30
Attila Szegedi
5ec014a881 8044638: Tidy up Nashorn codebase for code standards
Reviewed-by: lagergren, sundar
2014-06-04 13:08:57 +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