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
Erik Joelsson
c318ab6e23
8081814: Modularize the deploy build
...
Reviewed-by: ihse, ddehaven
2015-05-27 17:35:21 +02:00
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
Hannes Wallnöfer
bc04834c26
8071928: Instance properties with getters returning wrong values
...
Reviewed-by: attila, lagergren, sundar
2015-04-20 10:40:42 +02:00
Hannes Wallnöfer
d7248ad3bd
8073846: Javascript for-in loop returned extra keys
...
Reviewed-by: attila, lagergren, sundar
2015-04-20 10:39:55 +02:00
Lana Steuck
c323f11327
Merge
2015-04-17 10:25:26 -07:00
David Katleman
b7ce78f370
Added tag jdk9-b60 for changeset f678f348c947
2015-04-17 09:59:50 -07:00
Hannes Wallnöfer
a000d5154a
8077955: Undeclared globals in eval code should not be handled as fast scope
...
Reviewed-by: lagergren, attila
2015-04-16 17:31:32 +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
Lana Steuck
4c04224545
Merge
2015-04-09 17:36:16 -07:00
David Katleman
094c72c91a
Added tag jdk9-b59 for changeset c8bb4d1093d4
2015-04-09 06:40:21 -07:00
Lana Steuck
1f2a7cfb88
Merge
2015-04-08 14:31:51 -07:00
David Katleman
9db1af5eaf
Added tag jdk9-b58 for changeset 9a2cca215a5c
2015-04-08 13:12:53 -07:00
Athijegannathan Sundararajan
fcb7a55923
8076972: Several nashorn tests failing
...
Reviewed-by: lagergren, jlaskey
2015-04-07 00:13:18 +05:30
Lana Steuck
99a408038d
Merge
2015-04-03 16:35:42 -07:00
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
David Katleman
a0058605f3
Added tag jdk9-b57 for changeset ac0dca163b36
2015-04-02 10:02:50 -07:00
Lana Steuck
fda073f8b4
Merge
2015-04-01 12:29:49 -07:00
Hannes Wallnöfer
0f4227cfde
8075231: Typed array setters are very slow when index exceeds capacity
...
Reviewed-by: attila, lagergren
2015-03-26 22:13:41 +01:00
Hannes Wallnöfer
c74264d675
8075366: Slow scope access to global let/const does not work
...
Reviewed-by: sundar, attila, lagergren
2015-03-26 21:39:25 +01:00
David Katleman
9d2db271f4
Added tag jdk9-b56 for changeset 8151437996be
2015-03-26 13:09:11 -07:00
Magnus Ihse Bursie
ba7242fdab
8076060: Improve make bootstrap process
...
Reviewed-by: erikj
2015-03-26 16:17:38 +01:00
Hannes Wallnöfer
9454c8c825
8073868: Regex matching causes java.lang.ArrayIndexOutOfBoundsException: 64
...
Reviewed-by: attila, lagergren
2015-03-25 17:43:55 +01:00
Hannes Wallnöfer
268d8ef7a6
8075927: toNumber(String) accepts illegal characters
...
Reviewed-by: attila, sundar
2015-03-25 14:41:47 +01: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
Athijegannathan Sundararajan
de784d82f1
8012190: Global scope should be initialized lazily
...
Reviewed-by: lagergren, hannesw, attila
2015-03-25 14:36:22 +05:30
Athijegannathan Sundararajan
0803c08355
8074410: Startup time: Port shell.js to Java
...
Reviewed-by: lagergren, hannesw
2015-03-24 13:59:31 +05:30
James Laskey
bc29dd414c
8075623: Temporary patch to get fx imports working interim
...
Reviewed-by: lagergren
2015-03-23 09:04:59 -03:00