Lana Steuck
c9e37d0dcb
Merge
2015-06-18 10:24:14 -07:00
Athijegannathan Sundararajan
39366de6a7
8117883: nasgen prototype, instance member count calculation is wrong
...
Reviewed-by: hannesw, lagergren
2015-06-18 19:20:53 +05:30
Lana Steuck
bcd100fae5
Added tag jdk9-b69 for changeset b15ed6c5dedd
2015-06-18 01:43:18 -07:00
Hannes Wallnöfer
18c25f6f9f
8098808: Convert Scope from interface to class
...
Reviewed-by: sundar, attila
2015-06-17 13:56:53 +02:00
Athijegannathan Sundararajan
55f2b58bad
8098847: obj."prop" and obj.'prop' should result in SyntaxError
...
Reviewed-by: hannesw, attila
2015-06-17 14:21:20 +05:30
Hannes Wallnöfer
28f8652430
8087312: PropertyMapWrapper.equals should compare className
...
Reviewed-by: sundar, attila
2015-06-17 09:10:45 +02:00
Athijegannathan Sundararajan
2ea5c82229
8098578: Global scope is not accessible with indirect load call
...
Reviewed-by: attila, hannesw
2015-06-16 18:26:25 +05:30
Hannes Wallnöfer
e87ce70fa1
8098807: Strict eval throws ClassCastException with large scripts
...
Reviewed-by: sundar, attila
2015-06-16 13:25:41 +02:00
Hannes Wallnöfer
3c76c77513
8098546: eval within a 'with' leaks definitions into global scope
...
Reviewed-by: sundar, attila
2015-06-15 15:49:14 +02:00
Hannes Wallnöfer
21c3399f5e
8086052: Script evaluation should not return last function declaration
...
Reviewed-by: sundar, attila
2015-06-15 15:37:01 +02:00
Athijegannathan Sundararajan
907f7f2c7c
8087211: Indirect evals should be strict with -strict option
...
Reviewed-by: lagergren, hannesw
2015-06-12 16:55:20 +05:30
Lana Steuck
a0d63f0bf4
Merge
2015-06-11 20:19:14 -07:00
Lana Steuck
0846823187
Added tag jdk9-b68 for changeset 4b727de06e46
2015-06-11 10:44:20 -07:00
Athijegannathan Sundararajan
f3198a6632
8087136: regression: apply on $EXEC fails with ClassCastException
...
Reviewed-by: hannesw, lagergren
2015-06-11 13:33:34 +05:30
Michael Haupt
0f1bfba6c9
8080490: add $EXECV command to Nashorn scripting mode
...
Additional arguments to the command line can be passed as a single array, or as a sequence of varargs.
Reviewed-by: attila, hannesw
2015-06-09 09:27:02 +02:00
Athijegannathan Sundararajan
f5e449156c
8086032: Add compiler error tests when syntax extensions are used with --no-syntax-extensions option
...
Reviewed-by: attila, hannesw
2015-06-09 14:19:57 +05:30
Michael Haupt
a1bb22a48c
8085885: address Javadoc warnings in Nashorn source code
...
Reviewed-by: hannesw, lagergren
2015-06-08 10:28:04 +02:00
Athijegannathan Sundararajan
31d1f45723
8085937: add autoimports sample script to easily explore Java classes in interactive mode
...
Reviewed-by: lagergren, attila
2015-06-08 14:10:39 +05:30
Athijegannathan Sundararajan
2466fa7128
8085802: Nashorn -nse option causes parse error on anonymous function definition
...
Reviewed-by: lagergren, attila
2015-06-08 13:57:44 +05:30
Athijegannathan Sundararajan
71388e3fb6
8085810: Return value of Objects.requireNonNull call can be used
...
Reviewed-by: lagergren, attila
2015-06-05 19:05:37 +05:30
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
Lana Steuck
13a3f9e134
Merge
2015-06-04 18:49:16 -07:00
David Katleman
92021a8d90
Added tag jdk9-b67 for changeset 86337dfa5da2
2015-06-04 09:31:52 -07:00
Attila Szegedi
a1e2230a40
8081813: JSONListAdapter should delegate its [[DefaultValue]] to wrapped object
...
Reviewed-by: lagergren, sundar
2015-06-03 16:28:57 +02:00
Athijegannathan Sundararajan
105784b853
8081809: Missing final modifier in method parameters (nashorn code convention)
...
Reviewed-by: attila, hannesw
2015-06-03 18:44:12 +05:30
Hannes Wallnöfer
b7ecae1bb9
8066220: Fuzzing bug: MethodHandle bug (Object,Object) != (boolean)Object
...
Reviewed-by: lagergren, attila, sundar
2015-06-03 09:36:58 +02:00
Michael Haupt
2a94099e09
8081696: reduce dependency of Nashorn tests on external components
...
Reviewed-by: attila, sundar
2015-06-02 17:08:13 +02:00
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