Commit Graph

1267 Commits

Author SHA1 Message Date
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
Athijegannathan Sundararajan
2d6a39e2e5 8075604: jjs exits even when non-daemon threads are still active
Reviewed-by: attila, jlaskey
2015-03-20 20:04:18 +05:30
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
Lana Steuck
1dae45d60e Merge 2015-03-19 16:13:54 -07:00
David Katleman
7f20824dda Added tag jdk9-b55 for changeset 6fae74f3f890 2015-03-19 12:59:27 -07:00
Athijegannathan Sundararajan
5feb701fc3 8006996: Add a pretty printer that prints script source in nice form
Reviewed-by: lagergren, hannesw
2015-03-19 15:13:01 +05:30
Athijegannathan Sundararajan
898bf9b590 8075454: Anonymous functions have internal names exposed via parser API
Reviewed-by: hannesw, lagergren
2015-03-18 23:14:12 +05:30
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
Attila Szegedi
74e2514b51 8075223: revert multithreaded deoptimizing compilation livelock prevention
Reviewed-by: hannesw, sundar
2015-03-16 18:13:38 +01:00
Marcus Lagergren
999ce35e84 8066217: ArrayBuffer constructor was erroneous with zero args
Reviewed-by: sundar, hannesw
2015-03-16 16:17:19 +01:00
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
Attila Szegedi
4c6eb2b310 8075090: Add tests for the basic failure of try/finally compilation
Reviewed-by: hannesw, lagergren
2015-03-16 11:00:07 +01:00
Hannes Wallnöfer
10b38fe9ae 8075006: Threads spinning infinitely in WeakHashMap.get running test262parallel
Reviewed-by: lagergren, attila
2015-03-13 18:40:07 +01:00
Lana Steuck
74c0fd2529 Merge 2015-03-12 21:14:04 -07:00
David Katleman
78a6776477 Added tag jdk9-b54 for changeset 6270182c91f4 2015-03-12 13:35:18 -07:00
Erik Joelsson
ff31cfd5ce 8074988: Reduce boilerplate in Setup* macro definitions
Reviewed-by: tbell, ihse
2015-03-12 12:13:53 +01:00
Attila Szegedi
7e24bd1435 8073706: Livelock in CompiledFunction.getValidOptimisticInvocation
Reviewed-by: hannesw, lagergren
2015-03-11 17:52:23 +01:00
Attila Szegedi
7cd70cfbde 8074661: Forward port AbstractJSObject.getDefaultValue(JSObject, Class)
Reviewed-by: hannesw, sundar
2015-03-11 17:47:28 +01:00
Athijegannathan Sundararajan
984eae0ebf 8074972: Unused imports, a missing javadoc and a build warning
Reviewed-by: hannesw, lagergren
2015-03-11 16:58:04 +05:30
Hannes Wallnöfer
235fd3be93 8074693: Different instances of same function use same allocator map
Reviewed-by: attila, lagergren
2015-03-11 11:08:22 +01:00
Attila Szegedi
ea529d1354 8074484: More agressive value discarding
Reviewed-by: hannesw, lagergren
2015-03-11 11:03:21 +01:00
Athijegannathan Sundararajan
e383c777af 8074939: Add few sample scripts to demo nashorn parser API
Reviewed-by: attila, hannesw
2015-03-11 14:30:40 +05:30
Hannes Wallnöfer
86fefb1f46 8074687: Add tests for JSON parsing of numeric keys
Reviewed-by: sundar, attila
2015-03-10 18:23:43 +01:00
Athijegannathan Sundararajan
0ed9eb856c 8074671: Nashorn Parser API
Reviewed-by: darcy, forax, attila, hannesw
2015-03-09 20:14:10 +05:30
Hannes Wallnöfer
d6aef89288 8074556: Functions should not share allocator maps
Reviewed-by: lagergren, sundar
2015-03-09 11:34:48 +01:00
Hannes Wallnöfer
e1ac257862 8074545: Undefined object values in object literals with spill properties
Reviewed-by: lagergren, attila
2015-03-06 15:26:51 +01:00
Attila Szegedi
e776a10ce3 8074487: Static analysis of IfNode should consider terminating branches
Reviewed-by: hannesw, lagergren
2015-03-06 10:18:47 +01:00
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
Lana Steuck
5411c3c53b Merge 2015-03-05 15:22:39 -08:00
David Katleman
c01b1f87de Added tag jdk9-b53 for changeset 1582f6df75ee 2015-03-05 11:26:22 -08:00
Attila Szegedi
4a3782b060 8035712: Restore some of the RuntimeCallSite specializations
Reviewed-by: hannesw, lagergren
2015-03-05 15:43:43 +01:00
Attila Szegedi
b5aaccb15f 8074031: Canonicalize is-a-JS-string tests
Reviewed-by: hannesw, lagergren
2015-03-02 14:33:55 +01:00
Hannes Wallnöfer
74c88b0515 8073707: const re-assignment should not reported as a early error
Reviewed-by: sundar, attila
2015-02-27 14:33:47 +01:00
Athijegannathan Sundararajan
ffd434caa1 8074021: Indirect eval fails when used as an element of an array or as a property of an object
Reviewed-by: attila, hannesw
2015-02-27 18:03:18 +05:30
Lana Steuck
f8e7c24ceb Merge 2015-02-26 20:16:58 -08:00
David Katleman
084063f0b6 Added tag jdk9-b52 for changeset 1a9a6f8f71f6 2015-02-26 15:58:18 -08: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
David Katleman
5672ca6e68 Added tag jdk9-b51 for changeset db20db37be55 2015-02-19 11:24:08 -08:00
Lana Steuck
06fb272637 Merge 2015-02-12 16:39:22 -08:00
David Katleman
a8f03a25b5 Added tag jdk9-b50 for changeset 51d0ef4e53e6 2015-02-12 16:23:30 -08:00
Attila Szegedi
8d084dc298 8072596: Arrays.asList results in ClassCastException with a JS array
Reviewed-by: lagergren, sundar
2015-02-12 16:43:33 +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
13a7f3810a 8072752: Add regression tests for 8071678 and 8071594
Reviewed-by: hannesw, attila
2015-02-09 14:40:56 +05:30
Athijegannathan Sundararajan
2f101d122b 8071989: NashornScriptEngine returns javax.script.ScriptContext instance with insonsistent get/remove methods behavior for undefined attributes
Reviewed-by: attila, lagergren
2015-02-06 19:28:26 +05:30
Lana Steuck
d0aae9c2a0 Merge 2015-02-05 15:42:09 -08:00
David Katleman
125aff9d19 Added tag jdk9-b49 for changeset bdc353778a28 2015-02-05 11:43:38 -08:00
Hannes Wallnöfer
3f9c2f13ee 8072626: Test for JDK-8068872 fails in tip
Reviewed-by: lagergren, jlaskey
2015-02-05 16:26:36 +01:00
Hannes Wallnöfer
0e498bf1aa 8068872: Nashorn JSON.parse drops numeric keys
Reviewed-by: attila, lagergren
2015-02-05 14:47:28 +01:00
Hannes Wallnöfer
d4e6353375 8062141: Various performance issues parsing JSON
Reviewed-by: lagergren, attila
2015-02-05 14:42:14 +01:00
Athijegannathan Sundararajan
2d266be7f6 8072595: nashorn should not use obj.getClass() for null checks
Reviewed-by: hannesw, attila
2015-02-05 19:08:00 +05:30
Attila Szegedi
73d940848b 8072000: New compiler warning after JDK-8067139
Reviewed-by: hannesw, sundar
2015-01-30 15:03:56 +01:00
Lana Steuck
160c7e3cac Merge 2015-01-29 15:36:29 -08:00
David Katleman
a35131edd7 Added tag jdk9-b48 for changeset 5f1e4deb8d30 2015-01-28 16:45:51 -08:00
Attila Szegedi
d09ec5b3e1 8067139: Finally blocks inlined incorrectly
Reviewed-by: hannesw, lagergren
2015-01-28 17:58:08 +01:00
Lana Steuck
e4a553ffe4 Merge 2015-01-24 23:23:06 -08:00
David Katleman
063091c9a6 Added tag jdk9-b47 for changeset 73d6633dcfd7 2015-01-23 18:50:52 -08:00
Attila Szegedi
bf990aa813 8068603: ScriptObjectMirror should reject null/empty string/non-string parameters in Bindings methods
Reviewed-by: hannesw, sundar
2015-01-20 12:34:21 +01:00
Attila Szegedi
a8f4ccaa9d 8067880: Dead typed push methods in ArrayData
Reviewed-by: hannesw, jlaskey
2015-01-19 16:07:16 +01:00
Lana Steuck
1884df90bb Merge 2015-01-16 12:34:10 -08:00
David Katleman
3a01ee0832 Added tag jdk9-b46 for changeset 167aecd0161e 2015-01-15 13:09:53 -08:00
Athijegannathan Sundararajan
e7f1a050d3 8068985: Wrong 'this' bound to eval call within a function when caller's 'this' is a Java object
Reviewed-by: jlaskey, attila
2015-01-15 10:18:31 +05:30
Attila Szegedi
4935529d4d 8069002: NPE on invoking null (8068889 regression)
Reviewed-by: jlaskey, sundar
2015-01-14 18:25:01 +01:00
Attila Szegedi
7090b1cdf5 8068994: Forgot to add a test model to JDK-8068573
Reviewed-by: lagergren, sundar
2015-01-14 16:29:39 +01:00
Attila Szegedi
242419de96 8068573: POJO setter using [] syntax throws an exception
Reviewed-by: lagergren, jlaskey
2015-01-14 15:54:18 +01:00
Attila Szegedi
b8092a1662 8068889: Calling a @FunctionalInterface from JS leaks internal objects
Reviewed-by: jlaskey, sundar
2015-01-13 16:38:29 +01:00
Lana Steuck
b237c3a926 Merge 2015-01-12 12:24:14 -08:00
Attila Szegedi
fb821c2f75 8068784: Halve the function object creation code size
Reviewed-by: hannesw, sundar
2015-01-12 14:32:32 +01:00
Attila Szegedi
faf445e144 8068580: make JavaAdapterFactory.isAutoConvertibleFromFunction more robust
Reviewed-by: lagergren, sundar
2015-01-12 11:29:42 +01:00
David Katleman
605541c13c Added tag jdk9-b45 for changeset 2261a52528ba 2015-01-08 12:08:33 -08:00
Athijegannathan Sundararajan
dc2d8b7e11 8068524: NashornScriptEngineFactory.getParameter() throws IAE for an unknown key, doesn't conform to the general spec
Reviewed-by: hannesw, attila
2015-01-07 14:02:30 +05:30
Athijegannathan Sundararajan
8ae9081136 8068431: @since and @jdk.Exported are missing in jdk.nashorn.api.scripting classes and package-info.java files
Reviewed-by: attila, lagergren
2015-01-05 16:02:56 +05:30
David Katleman
66cb1d6211 Added tag jdk9-b44 for changeset 1bb8bc01c120 2014-12-30 09:44:23 -08:00
Lana Steuck
469570c4be Merge 2014-12-23 13:57:28 -08:00
Lana Steuck
6253fc4127 Added tag jdk9-b43 for changeset b74f34ddea43 2014-12-18 19:57:57 -08:00
Attila Szegedi
88c5d41ddc 8067774: Use a stack of types when calculating local variable types
Reviewed-by: lagergren, sundar
2014-12-18 12:10:10 +01:00
Athijegannathan Sundararajan
ae38f75625 8067854: bound java static method throws NPE when 'null' is used for this argument
Reviewed-by: attila, hannesw
2014-12-18 16:33:33 +05:30
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
Hannes Wallnöfer
36816b6c0a 8066226: Fuzzing bug: parameter counts differ in TypeConverterFactory
Reviewed-by: attila, sundar
2014-12-16 17:02:54 +01:00
Athijegannathan Sundararajan
f73717b021 8067636: ant javadoc target is broken
Reviewed-by: hannesw, lagergren
2014-12-16 14:06:32 +05:30
Hannes Wallnöfer
49252804f2 8062030: Nashorn bug retrieving array property after key string concatenation
Reviewed-by: sundar, lagergren, attila
2014-12-15 12:32:34 +01:00
Hannes Wallnöfer
b7637531a9 8066215: Fuzzing bug: length valueOf bug
Reviewed-by: attila, lagergren
2014-12-15 12:08:36 +01:00
Athijegannathan Sundararajan
05bf0c5a45 8067420: BrowserJSObjectLinker should give priority to beans linker for property get/set
Reviewed-by: lagergren, attila, hannesw
2014-12-15 16:30:45 +05:30
Lana Steuck
326c95a872 Merge 2014-12-11 12:26:56 -08:00