Michael Haupt
db8a93364f
8080275: transparently download testng.jar for Nashorn testing
...
Instead of asking the user to manually download and install testng.jar, automate the process via "ant externals".
Reviewed-by: hannesw, sundar
2015-06-02 14:35:03 +02:00
Michael Haupt
6d8372c2a7
8081668: fix Nashorn ant externals command
...
Update URLs for Showdown (JavaScript Markdown implementation) download
Reviewed-by: hannesw, sundar
2015-06-02 14:34:37 +02:00
Michael Haupt
b09c2994ec
8081604: rename ScriptingFunctions.tokenizeCommandLine
...
This used to be a single-purpose private helper; it is now used by external clients, and for new purposes. Consequently, it deserves a less specific name.
Reviewed-by: attila, lagergren, sundar
2015-06-02 10:40:19 +02:00
Michael Haupt
f4437cec2a
8081603: erroneous dot file generated from Nashorn --print-code
...
Emit a dot label string-conformant line break instead of a hard one to avoid strings ranging across an EOL.
Reviewed-by: attila, lagergren, sundar
2015-06-02 10:40:10 +02:00
Attila Szegedi
0d2785c745
8066773
: JSON-friendly wrapper for objects
...
Reviewed-by: jlaskey, lagergren, sundar
2015-06-02 10:55:17 +02:00
Joe Darcy
63cb346d4a
8075555: Add tiered testing definitions to the nashorn repo
...
Reviewed-by: lagergren
2015-06-02 00:16:20 -07:00
Athijegannathan Sundararajan
c3b0b573ff
8081609: engine.eval call from a java method which was called from a previous engine.eval results in wrong ScriptContext being used
...
Reviewed-by: attila, lagergren
2015-06-02 12:42:53 +05:30
Attila Szegedi
4a9502a06a
8066218: UTF-32LE mistakenly detected as UTF-16LE
...
Reviewed-by: lagergren, sundar
2015-06-01 15:01:36 +02:00
Lana Steuck
d9699bc260
Merge
2015-05-28 16:50:12 -07:00
David Katleman
6b065339e5
Added tag jdk9-b66 for changeset addfa81a8448
2015-05-28 16:13:56 -07:00
Athijegannathan Sundararajan
d321ca9523
8081156: jjs "nashorn.args" system property is not effective when script arguments are passed
...
Reviewed-by: hannesw, lagergren
2015-05-27 22:18:51 +05:30
Attila Szegedi
6e24cffe34
8081204: ListAdapter throws NPE when adding/removing elements outside of JS context
...
Reviewed-by: lagergren, sundar
2015-05-27 14:37:11 +03:00
Athijegannathan Sundararajan
b05ced98a1
8007456: Nashorn test framework @argument does not handle quoted strings
...
Reviewed-by: hannesw, lagergren
2015-05-27 13:16:50 +05:30
Attila Szegedi
1333ff7ddd
8081062: ListAdapter should take advantage of JSObject
...
Reviewed-by: lagergren, sundar
2015-05-26 16:12:23 +02:00
Attila Szegedi
f9b1376aa3
8081015: Allow conversion of native arrays to Queue and Collection
...
Reviewed-by: hannesw, lagergren, sundar
2015-05-26 14:37:14 +02:00
Athijegannathan Sundararajan
5b954fdc5e
8036743: need ArrayBuffer constructor with specified data
...
Reviewed-by: attila, hannesw, lagergren
2015-05-26 13:49:45 +05:30
Lana Steuck
fb82a9eeb8
Merge
2015-05-21 16:19:37 -07:00
David Katleman
58d754e109
Added tag jdk9-b65 for changeset 8bbe109bca14
2015-05-21 10:07:41 -07:00
Athijegannathan Sundararajan
5431091715
8079145: jdk.nashorn.internal.runtime.arrays.IntArrayData.convert assertion
...
Reviewed-by: jlaskey, hannesw
2015-05-21 21:51:48 +05:30
Athijegannathan Sundararajan
8777094b4f
8080848: delete of bound Java method property results in crash
...
Reviewed-by: hannesw, lagergren
2015-05-21 18:44:51 +05:30
Athijegannathan Sundararajan
7945c7b276
8080598: Javadoc warnings in Global.java after lazy initialization
...
Reviewed-by: lagergren, hannesw
2015-05-20 14:16:19 +05:30
Michael Haupt
ff3855c8ba
8049300: jjs scripting: need way to quote $EXEC command arguments to protect spaces
...
Honor quoting with "" and '' as well as escaped spaces
Reviewed-by: hannesw, sundar
2015-05-15 16:36:25 +02:00
Attila Szegedi
c9191f56e0
8078414: Don't create impossible converters for ScriptObjectMirror
...
Reviewed-by: hannesw, sundar
2015-05-15 15:40:57 +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
Attila Szegedi
96747306e2
8079424: code generator for discarded boolean logical operation has an extra pop
...
Reviewed-by: lagergren, sundar
2015-05-15 10:19:37 +02:00
Lana Steuck
372c3a8c86
Merge
2015-05-14 20:14:44 -07:00
David Katleman
24c78d855c
Added tag jdk9-b64 for changeset 8b01824b0cbb
2015-05-14 12:38:15 -07:00
Attila Szegedi
68085fd188
8080295: Need to adjust test output for 8067931
...
Reviewed-by: jlaskey, sundar
2015-05-13 10:01:37 -05:00
Attila Szegedi
0f400ba879
8067931: Improve error message when with statement is passed a POJO
...
Reviewed-by: lagergren, sundar
2015-05-13 09:38:59 -05:00
Michael Haupt
538f0b4f06
8080286: use path separator setting consistently in Nashorn project properties
...
Replace uses of ":" with platform-independent path separator property
Reviewed-by: hannesw, sundar
2015-05-13 15:41:46 +02:00
Athijegannathan Sundararajan
c8dc03d400
8080182: Array.prototype.sort throws IAE on inconsistent comparison
...
Reviewed-by: lagergren, hannesw
2015-05-13 12:45:14 +05:30
Athijegannathan Sundararajan
ee03c0e102
8080090: -d option should dump script source as well
...
Reviewed-by: hannesw, lagergren
2015-05-12 12:40:33 +05:30
Athijegannathan Sundararajan
fd0591c105
8080042: can't build nashorn.jar from jdk9-dev/nashorn using jdk8 installation as JAVA_HOME
...
Reviewed-by: lagergren, jlaskey
2015-05-11 22:57:24 +05:30
Lana Steuck
dbb8e5a9d8
Merge
2015-05-07 20:49:48 -07:00
David Katleman
99ef3918ed
Added tag jdk9-b63 for changeset 06dd4411e4ca
2015-05-07 10:19:37 -07:00
Attila Szegedi
3ac44fdc58
8066751: Remove casts redundant with Java 9 buffer APIs
...
Reviewed-by: hannesw, sundar
2015-05-06 16:48:31 +02:00
Athijegannathan Sundararajan
b9fbd2d32d
8079470: Misleading error message when explicit signature constructor is called with wrong arguments
...
Reviewed-by: jlaskey, hannesw
2015-05-06 20:04:42 +05:30
Hannes Wallnöfer
a2301acb62
8066237: Fuzzing bug: Parser error on optimistic recompilation
...
Reviewed-by: lagergren, attila
2015-05-06 16:22:22 +02:00
Attila Szegedi
421b276f85
8079362: Enforce best practices for Node token API usage
...
Reviewed-by: hannesw, sundar
2015-05-06 15:46:54 +02:00
Attila Szegedi
79086bc842
8079349: Eliminate dead code around Nashorn code generator
...
Reviewed-by: hannesw, lagergren
2015-05-06 13:36:42 +02:00
Attila Szegedi
dbcd4aef5f
8079269: Optimistic rewrite in object literal causes ArrayIndexOutOfBoundsException
...
Reviewed-by: hannesw, lagergren
2015-05-05 18:35:29 +02:00
Hannes Wallnöfer
08e8a63ab5
8078612: Persistent code cache should support more configurations
...
Reviewed-by: lagergren, attila
2015-05-05 14:30:00 +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
Lana Steuck
381737a6a5
Merge
2015-04-30 17:21:20 -07:00
David Katleman
5697364521
Added tag jdk9-b62 for changeset 2ae39df23f8e
2015-04-30 13:02:10 -07:00
Hannes Wallnöfer
c8634327e8
8053905: Eager code generation fails for earley boyer with split threshold set to 1000
...
Reviewed-by: attila, lagergren
2015-04-27 12:50:21 +02:00
Hannes Wallnöfer
9becc306ef
8066407: Function with same body not reparsed after SyntaxError
...
Reviewed-by: attila, lagergren
2015-04-27 12:27:33 +02:00
Lana Steuck
3a0c5d5da2
Merge
2015-04-23 16:12:25 -07:00
David Katleman
ea43882328
Added tag jdk9-b61 for changeset 3fd41cdba15e
2015-04-23 10:43:39 -07:00
Athijegannathan Sundararajan
dbbb8bf78e
8078174: Add few FX and parser API samples for nashorn
...
Reviewed-by: hannesw, lagergren
2015-04-20 19:41:44 +05:30