Commit Graph

1522 Commits

Author SHA1 Message Date
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
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
David Katleman
0be1ef4bd8 Added tag jdk9-b42 for changeset 5e4ae56d68ac 2014-12-11 11:44:07 -08:00
Hannes Wallnöfer
a7a2c82780 8067219: NPE in ScriptObject.clone() when running with object fields
Reviewed-by: attila, lagergren
2014-12-11 19:15:47 +01:00
Hannes Wallnöfer
c2cd1906de 8066669: dust.js performance regression caused by primitive field conversion
Reviewed-by: attila, sundar
2014-12-11 15:39:58 +01:00
Hannes Wallnöfer
7d75c8da1a 8066932: __noSuchMethod__ binds to this-object without proper guard
Reviewed-by: attila, lagergren
2014-12-11 12:01:17 +01:00
Attila Szegedi
13c5c04470 8066221: anonymous function statement name clashes with another symbol
Reviewed-by: lagergren, sundar
2014-12-10 18:28:41 +01:00
Athijegannathan Sundararajan
34673eaf92 8067136: BrowserJSObjectLinker does not handle call on JSObjects
Reviewed-by: attila, hannesw, lagergren
2014-12-10 19:42:01 +05:30
Attila Szegedi
3330ff38e9 8066236: RuntimeNode forces copy creation on visitation
Reviewed-by: hannesw, lagergren
2014-12-10 12:30:48 +01:00
Attila Szegedi
22573e0db4 8066224: fixes for folding a constant-test ternary operator
Reviewed-by: hannesw, lagergren
2014-12-10 11:55:25 +01:00
Attila Szegedi
47e744920e 8066225: NPE in MethodEmitter with duplicate integer switch cases
Reviewed-by: hannesw, lagergren
2014-12-10 11:55:04 +01:00
Attila Szegedi
d3b4347330 8066227: CodeGenerator load unitialized slot
Reviewed-by: hannesw, lagergren
2014-12-08 15:14:11 +01:00
Attila Szegedi
1284542fb3 8066230: Undefined object type assertion when computing TypeBounds
Reviewed-by: hannesw, lagergren
2014-12-08 15:13:16 +01:00
Paul Sandoz
20c4b7ce9d 8066777: OptimisticTypesPersistence.java should use Files.readAllBytes instead of getting size and then read
Reviewed-by: attila, lagergren
2014-12-05 20:17:51 +05:30
Athijegannathan Sundararajan
b2c1e8a2e7 8066753: OptimisticTypePersistence.java should work properly with "jrt" URL
Reviewed-by: lagergren, attila
2014-12-05 19:01:26 +05:30
Athijegannathan Sundararajan
f42d5e85e3 8066749: jdk9-dev/nashorn ant build fails with jdk9 modular image build as JAVA_HOME
Reviewed-by: lagergren, hannesw
2014-12-05 14:35:00 +05:30
Lana Steuck
35a74c5264 Merge 2014-12-04 15:23:04 -08:00
David Katleman
bd075b7eb8 Added tag jdk9-b41 for changeset 08ef93eaca80 2014-12-04 12:58:22 -08:00
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
Athijegannathan Sundararajan
949112fab2 8066683: nashorn test failures after modular image changes
Reviewed-by: attila, jlaskey
2014-12-04 20:40:48 +05:30
Chris Hegarty
2dbed37b5e Merge 2014-12-03 17:55:36 +00:00
Attila Szegedi
29eb5ce73d 8066232: problem with conditional catch compilation
Reviewed-by: hannesw, lagergren
2014-12-03 16:31:39 +01:00
Attila Szegedi
deabb040d5 8066222: too strong assertion on function expression names
Reviewed-by: hannesw, lagergren
2014-12-03 16:31:15 +01: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
Hannes Wallnöfer
8d3af43a7c 8065769: OOM on Window/Solaris in test compile-octane-splitter.js
Reviewed-by: sundar, jlaskey
2014-12-03 14:49:36 +01:00
Hannes Wallnöfer
e3a64209bc 8066214: Fuzzing bug: Object.prototype.toLocaleString(0)
Reviewed-by: attila, lagergren
2014-12-03 11:43:57 +01:00
Andreas Gabrielsson
beb05bda0d 8066238: AssertionError in parser when syntax errors appeared in non finished Blocks
Reviewed-by: hannesw, sundar, lagergren
2014-12-01 13:17:24 +01:00
Marcus Lagergren
9c7f48c842 8066119: Invalid resource tag used for looking up error message in NativeDataView
Reviewed-by: hannesw, sundar
2014-11-28 11:02:54 +01:00
Hannes Wallnöfer
7b35db48f7 8057980: let & const: remaining issues with lexical scoping
Reviewed-by: lagergren, attila
2014-11-27 16:42:53 +01:00
Vladimir Ivanov
a0485e336d 8065985: Inlining failure of Number.doubleValue() in JSType.toNumeric() causes 15% peak perf regresion on Box2D
Reviewed-by: lagergren, hannesw
2014-11-27 17:14:01 +04:00
Attila Szegedi
e79371a0bc 8051778: support bind on all Nashorn callables
Reviewed-by: hannesw, lagergren
2014-11-27 13:04:46 +01:00
Hannes Wallnöfer
b5ae347f9c 8057691: Nashorn: let & const declarations are not shared between scripts
Reviewed-by: lagergren, attila
2014-11-21 17:44:57 +01:00
Lana Steuck
35268dc495 Merge 2014-11-20 10:58:25 -08:00
David Katleman
9c481b142e Added tag jdk9-b40 for changeset 4bb9d8815020 2014-11-18 15:25:19 -08:00
Marcus Lagergren
ad0645eb58 8049407: Endianness problem with TypedArrays
Reviewed-by: hannesw, sundar
2014-11-17 14:36:15 +01: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
Lana Steuck
30066363bb Merge 2014-11-13 09:38:35 -08:00
Marcus Lagergren
ebdc046949 8062937: Need to block constant assumption for index setters and defineOwnProperty, not just delete
Reviewed-by: hannesw, jlaskey
2014-11-13 16:59:03 +01:00
Hannes Wallnöfer
20bfcfa75a 8064789: Nashorn should just warn on code store instantiation error
Reviewed-by: attila, lagergren
2014-11-13 15:29:22 +01:00
David Katleman
54cc0b0fff Added tag jdk9-b39 for changeset d34febeff13b 2014-11-12 20:32:28 -08:00
Marcus Lagergren
ca13b9a903 8063036: Various pretty printing issues with --log=recompile
Reviewed-by: hannesw, jlaskey
2014-11-12 17:19:04 +01:00
Attila Szegedi
2761db3bb6 8064707: Remove NativeArray link logic fields
Reviewed-by: hannesw, lagergren
2014-11-12 15:13:08 +01:00
Attila Szegedi
e0d1d687f2 8063037: ApplySpecialization.hasApplies shouuld not descend into nested functions
Reviewed-by: hannesw, lagergren
2014-11-12 14:54:40 +01:00
Marcus Lagergren
1fd2db0b1a 8064705: Build breaking warning in LengthNotWritableFilter
Reviewed-by: hannesw, attila
2014-11-12 14:40:05 +01:00
Marcus Lagergren
434b1899be 8035312: Various array and ScriptObject length issues for non writable length fields
Reviewed-by: hannesw, attila
2014-11-12 14:12:01 +01:00
Attila Szegedi
c0e0171008 8062799: Binary logical expressions can have numeric types
Reviewed-by: lagergren, sundar
2014-11-11 17:27:44 +01:00
Attila Szegedi
ed690e7835 8064467: type info persistence failed to calculate directory name
Reviewed-by: hannesw, lagergren
2014-11-11 16:17:37 +01:00
Lana Steuck
f0dc68f1aa Merge 2014-11-06 15:13:08 -08:00
David Katleman
4c77e33f9b Added tag jdk9-b38 for changeset 7f3150885118 2014-11-06 10:11:40 -08:00
Attila Szegedi
c2b5d15a9d 8062308: Incorrect constant linkage with multiple Globals in a Context
Reviewed-by: lagergren, sundar
2014-11-06 17:06:56 +01:00
Hannes Wallnöfer
ed9bce193a 8047365: Very long function names break codegen
Reviewed-by: attila, lagergren
2014-11-06 13:17:47 +01:00
Hannes Wallnöfer
0c4006a654 8062624: java.lang.String methods not available on concatenated strings
Reviewed-by: lagergren, attila
2014-11-06 13:15:52 +01:00
Hannes Wallnöfer
043a07e654 8062386: Different versions of nashorn use same code cache directory
Reviewed-by: lagergren, attila
2014-11-05 17:07:26 +01:00
Marcus Lagergren
fe0da815c5 8057825: Bug in apply specialization - if an apply specialization that is available doesn't fit, a new one wouldn't be installed, if the new code generated as a specialization didn't manage to do the apply specialization. Basically changing a conditional to an unconditional
Reviewed-by: attila, hannesw
2014-11-05 12:34:06 +01:00
Marcus Lagergren
d82a461e44 8062490: Out of memory problems, as untouched array datas didn't go directly to SparseArrayDatas, but dragged very large int arrays around
Reviewed-by: attila, sundar
2014-11-03 14:59:34 +01:00
Marcus Lagergren
75d37c8e9c 8061959: ArrayBuffer lacked static isViewMethod
Reviewed-by: attila, sundar
2014-11-03 13:58:52 +01:00
Marcus Lagergren
f27f5dd651 8062381: Wrong index was used for linking charCodeAt specializations
Reviewed-by: attila, hannesw
2014-11-03 12:34:39 +01:00
Marcus Lagergren
88fcdf5d05 8060204: Fix warnings in Joni and tests
Reviewed-by: hannesw, sundar, attila
2014-11-03 11:47:41 +01:00
Attila Szegedi
5d2bb4cd2d 8059443: NPE when unboxing return values
Reviewed-by: lagergren, sundar
2014-11-03 09:49:52 +01:00
Attila Szegedi
10ebc44ee0 8062050: A method is considered caller sensitive, but it doesn't have the CallerSensitive annotation
Reviewed-by: hannesw, lagergren
2014-11-03 07:29:46 +01:00
Attila Szegedi
c0a2e40859 8061957: Some arithmetic operations have unnecessary widening
Reviewed-by: hannesw, lagergren
2014-11-03 07:28:08 +01:00
Hannes Wallnöfer
44b0af6eb9 8062583: Throwing object with error prototype causes error proto to be caught
Reviewed-by: sundar, jlaskey
2014-10-31 16:50:31 +01:00
Hannes Wallnöfer
cd2c4bfd1d 8062132: Nashorn incorrectly binds this for constructor created by another function
Reviewed-by: jlaskey, sundar
2014-10-31 10:06:52 +01:00
Lana Steuck
840418be85 Merge 2014-10-30 13:56:29 -07:00
Hannes Wallnöfer
5d33a33e2f 8062401: User accessors require boxing and do not support optimistic types
Reviewed-by: jlaskey, lagergren
2014-10-30 19:55:56 +01:00
David Katleman
baf8cabd66 Added tag jdk9-b37 for changeset 957656314d82 2014-10-30 08:35:05 -07:00
Athijegannathan Sundararajan
c92cca11f6 8062216: [nashorn] regresion test failure with TimeZone
Reviewed-by: hannesw, lagergren
2014-10-28 17:22:17 +05:30
Athijegannathan Sundararajan
b7956c76bc 8062024: Issue with date.setFullYear when time other than midnight
Reviewed-by: jlaskey, lagergren
2014-10-27 17:54:00 +05:30
Attila Szegedi
3dadb9d8e3 8061955: asm.js idioms result in unnecessarily code emission
Reviewed-by: hannesw, jlaskey
2014-10-24 13:25:23 +02:00
Lana Steuck
4b4e46f1fb Merge 2014-10-23 13:45:22 -07:00
David Katleman
8d400b3ced Added tag jdk9-b36 for changeset bed94e5e4a68 2014-10-23 11:19:29 -07:00
Hannes Wallnöfer
02308fac34 8059813: Type Info Cache flag must must be documented
Reviewed-by: attila, jlaskey
2014-10-23 17:25:39 +02:00
Marcus Lagergren
5f5c28bf63 8061391: concat as a builtin optimistic form, had to remove NoTypedArrayData and replace it, as we throw away a lot of optimistic link opportunities with NoTypedArrayData not being Continuous
Reviewed-by: attila, hannesw
2014-10-23 15:19:00 +04:00
Attila Szegedi
e170fafd7c 8058610: must not let long operations overflow
Reviewed-by: hannesw, jlaskey, lagergren
2014-10-21 14:27:49 +02:00
Hannes Wallnöfer
de498625b3 8060724: ant test262parallel in Nashorn spends a significant amount of time after almost all the tests are run
Reviewed-by: lagergren, attila, sundar
2014-10-20 14:09:17 +02:00
Attila Szegedi
7bb8d39499 8059844: Implement optimistic splitter
Reviewed-by: hannesw, lagergren
2014-10-20 12:06:36 +02:00
Athijegannathan Sundararajan
aeed202b0b 8061257: nashorn ant build script should have a sanity target
Reviewed-by: lagergren, hannesw, attila
2014-10-20 13:27:22 +05:30
Attila Szegedi
36ddb21187 8059843: Make AST serializable
Reviewed-by: hannesw, lagergren
2014-10-17 14:24:26 +02:00
Lana Steuck
6a5adc81a0 Merge 2014-10-16 14:16:03 -07:00
David Katleman
33180b072e Added tag jdk9-b35 for changeset b5cd0f03efc4 2014-10-16 12:02:10 -07:00
Attila Szegedi
6da7daa4c2 8061113: Boolean used as optimistic call return type
Reviewed-by: hannesw, sundar
2014-10-16 11:34:31 +02: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
Attila Szegedi
f571816c79 8060241: Immediately invoked function expressions cause lot of deoptimization
Reviewed-by: hannesw, lagergren
2014-10-15 16:00:21 +02:00
Attila Szegedi
5d93e4cb25 8060242: Compile-time expression evaluator was not seeing into ArrayBufferViews
Reviewed-by: hannesw, lagergren, sundar
2014-10-15 15:57:46 +02:00
Andreas Gabrielsson
bd3defa4bb 8060471: DynamicLinker.getLinkedCallSiteLocation() is called even when logger is disabled, and it creates a stacktrace. This contributes unnecessarily to compile time
Reviewed-by: lagergren, attila
2014-10-14 16:11:07 +02:00
Andreas Gabrielsson
fab85d4210 8012518: Reengineer Parser.java to make it play well with the copy-on-write IR
Remove the kludges introduced to make the parser work with the copy on write IR. Now everything is done bottom up, finshing node children completely before node parents. The repeated non-functional pattern 'node = node.setSomething(something);' is gone. Resulting code is much more readable, and extensible for future work. The parser is now also consistent with the rest of the stateless copy-on-write world in code generation.

Reviewed-by: lagergren, attila, hannesw, shade
2014-10-14 15:28:24 +02:00
Attila Szegedi
a891de3114 8060238: Reports for optimistic test run overwrite those for pessimistic run
Reviewed-by: hannesw, lagergren, sundar
2014-10-14 13:04:56 +02:00
Attila Szegedi
c032844121 8059842: Creating symbols for declared functions shouldn't be a special case
Reviewed-by: hannesw, lagergren
2014-10-13 20:10:14 +02:00
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
Hannes Wallnöfer
4fcc6c8f4f 8060011: Concatenating an array and converting it to Java gives wrong result
Reviewed-by: lagergren, attila
2014-10-13 17:16:32 +02:00
Athijegannathan Sundararajan
f2913f0270 8060101: AssertionError: __noSuchProperty__ placeholder called from NativeJavaImporter
Reviewed-by: attila, jlaskey
2014-10-10 17:59:22 +05:30
Lana Steuck
0bc4b4cef4 Merge 2014-10-09 12:17:10 -07:00
David Katleman
033c1e097d Added tag jdk9-b34 for changeset b5f80ea5eb07 2014-10-09 11:24:22 -07:00
Marcus Lagergren
8d304985e6 8059811: Turn off optimistic typing by default and add both ant test-pessimistic and ant test-optimistic sub-test suites
Reviewed-by: attila, shade, hannesw
2014-10-09 10:19:24 +02:00
Hannes Wallnöfer
2134f7554d 8059938: NPE restoring cached script with optimistic types disabled
Reviewed-by: lagergren, sundar
2014-10-08 17:20:29 +02:00
Hannes Wallnöfer
4f8e9a09e2 8059236: Memory leak when executing octane pdfjs with optimistic typing
Reviewed-by: jlaskey, attila
2014-10-08 15:50:36 +02:00
Marcus Lagergren
d2a36ed370 8059231: Verify that octane raytrace now works with optimistic types turned off. Add better logging for optimistic types in the compiler
Reviewed-by: attila
2014-10-06 10:43:57 +02:00
Lana Steuck
0e99ed2e46 Merge 2014-10-03 12:10:58 -07:00
Lana Steuck
7b7bffa5f1 Added tag jdk9-b33 for changeset 41df1bde8056 2014-10-03 11:07:16 -07:00
Erik Joelsson
192376f622 8059135: New Nasgen dependencies to Nashorn breaks the JDK 9 build - bootstrapping problem?
Reviewed-by: tbell, attila, lagergren
2014-10-03 10:37:12 +02:00
Attila Szegedi
c7df19bca4 8059346: Single class loader is used to load compiled bytecode
Reviewed-by: hannesw, lagergren
2014-10-02 16:30:49 +02:00
Attila Szegedi
e97393b108 8059372: Code duplication in split emitter
Reviewed-by: jlaskey, lagergren
2014-10-01 12:22:12 +02:00
Attila Szegedi
8f4114ee43 8059371: Code duplication in handling of break and continue
Reviewed-by: jlaskey, lagergren
2014-10-01 10:26:53 +02:00
Attila Szegedi
80fe5fad5c 8059370: Unnecessary work in deoptimizing recompilation
Reviewed-by: jlaskey, lagergren
2014-10-01 10:26:25 +02:00
Marcus Lagergren
3d538d9cfd 8059321: Decrease warmup time by caching common structures that were reused during parse
Reviewed-by: attila, shade
2014-09-29 14:39:58 -07:00
Marcus Lagergren
3d2c518ad8 8059211: Changed ArrayData.length accessor to use the protected field and fixed javadoc warnings related to this
Reviewed-by: attila, hannesw
2014-09-26 18:47:20 +02:00
Lana Steuck
4e55c12a6e Merge 2014-09-25 16:21:37 -07:00
David Katleman
aaa117b441 Added tag jdk9-b32 for changeset 281a3ca2fd5e 2014-09-25 12:40:31 -07:00
Marcus Lagergren
d4f3f7da8f 8059132: Nasgen build in JDK9 can't handle new class dependencies to Nashorn - bootstrapping problem
Reviewed-by: sundar
2014-09-25 18:21:15 +02:00
Marcus Lagergren
da0b4cb7df 8025435: Optimistic builtins support, implemented initial optimistic versions of push, pop, and charCodeAt
Reviewed-by: attila, hannesw, sundar
2014-09-25 15:53:47 +02:00
Sergey Lugovoy
643e8d87e6 8057779: Tests failed on Windows when in output contains path to script
Reviewed-by: sundar, lagergren, hannesw
2014-09-23 15:58:44 +04:00
Attila Szegedi
00019f9c03 8058561: NPE in LocalVariableTypesCalculator
Reviewed-by: lagergren, sundar
2014-09-22 14:46:04 +02:00
Hannes Wallnöfer
62f4b355b5 8047764: Indexed or polymorphic set on global affects Object.prototype
Reviewed-by: lagergren, attila
2014-09-22 13:28:28 +02:00
Hannes Wallnöfer
7cb28afba6 8046202: Make persistent code store more flexible
Reviewed-by: lagergren, sundar
2014-09-19 13:13:20 +02:00
Lana Steuck
e4302b0b2d Merge 2014-09-18 13:27:22 -07:00
David Katleman
a1186e07b9 Added tag jdk9-b31 for changeset 12198895df07 2014-09-17 22:56:12 -07:00
Sergey Lugovoy
3d7f4564c6 8057035: Some tests failed using java.awt.Color on Solaris without X11 libraries
Reviewed-by: lagergren
2014-09-17 16:44:23 +04:00
Athijegannathan Sundararajan
bddf81075a 8058615: Overload resolution ambiguity involving ConsString
Reviewed-by: lagergren, hannesw
2014-09-17 15:02:42 +05:30
Athijegannathan Sundararajan
e149222854 8058551: Top level README accidentally modified with changeset 1025:1d7a917a35e2
Reviewed-by: jlaskey, hannesw
2014-09-16 17:47:58 +05:30
Athijegannathan Sundararajan
4dd455e254 8058545: With strict mode, bean property assignment of a non-existent property should result in TypeError
Reviewed-by: hannesw, lagergren
2014-09-16 17:04:35 +05:30
Hannes Wallnöfer
9352e3ed55 8056978: ClassCastException: cannot cast jdk.nashorn.internal.scripts.JO*
Reviewed-by: jlaskey, sundar
2014-09-15 17:51:11 +02:00
Athijegannathan Sundararajan
8c0e33df17 8058422: Users should be able to overwrite "context" and "engine" variables
Reviewed-by: lagergren, attila
2014-09-15 15:18:13 +05:30
Hannes Wallnöfer
9afdb7964c 8058304: Non-serializable fields in serializable classes
Reviewed-by: lagergren, sundar
2014-09-12 15:01:48 +02:00
Hannes Wallnöfer
1e000f777d 8057743: Single quotes must be escaped in message resource file
Reviewed-by: attila, lagergren, sundar
2014-09-12 11:00:51 +02:00
Lana Steuck
87d4175a75 Merge 2014-09-11 14:30:00 -07:00
Bradford Wetmore
7286ac2773 8058180: .hgignore should be updated with webrev in all repos
Reviewed-by: jrose, katleman, jjg
2014-09-11 12:18:02 -07:00
David Katleman
2fa1c08b52 Added tag jdk9-b30 for changeset 00bb2442d1d6 2014-09-11 09:09:02 -07:00
Hannes Wallnöfer
26d9d19841 8058179: Global constants get in the way of self-modifying properties
Reviewed-by: attila, jlaskey, sundar, lagergren
2014-09-11 17:23:02 +02:00
Attila Szegedi
c121e477c0 8058100: Reduce the RecompilableScriptFunctionData footprint
Reviewed-by: jlaskey, lagergren
2014-09-11 17:12:38 +02:00
Lana Steuck
49d33d66eb Merge 2014-09-10 19:37:52 -07:00
Hannes Wallnöfer
6a9239547f 8057021: UserAccessorProperty guards fail with multiple globals
Reviewed-by: attila, lagergren
2014-09-10 15:19:26 +02:00
Attila Szegedi
621efcd976 8034954: Optimistic iteration in for-in and for-each
Reviewed-by: hannesw, lagergren
2014-09-10 13:08:58 +02:00
Marcus Lagergren
c0bc4f8216 8057703: More empty classes generated by Nashorn
Reviewed-by: attila, sundar
2014-09-10 12:37:44 +02:00
Attila Szegedi
7dfcc902f6 8057931: Instead of not skipping small functions in parser, make lexer avoid them instead
Reviewed-by: hannesw, sundar
2014-09-09 15:34:14 +02:00
Attila Szegedi
f8b399466b 8057930: remove eval ID
Reviewed-by: hannesw, sundar
2014-09-09 15:33:58 +02:00
Attila Szegedi
c6dd744ff0 8057148: Skip nested functions on reparse
Reviewed-by: hannesw, lagergren
2014-09-08 18:40:58 +02:00
Sergey Lugovoy
5c841f8049 8057678: Tests for let and const keywords in Nashorn
Reviewed-by: hannesw, lagergren
2014-09-08 15:37:50 +04:00
Athijegannathan Sundararajan
f7042614f7 8057742: ant clean test should not fail if one or more external test suites are missing
Reviewed-by: lagergren, hannesw
2014-09-08 15:51:27 +05:30
Marcus Lagergren
5c74cf0819 8057588: Lots of trivial (empty) classes were generated by the Nashorn compiler as part of restOf-method generation
Reviewed-by: attila, sundar, hannesw
2014-09-05 16:28:17 +02:00
Marcus Lagergren
cbd2f643ad 8057611: Nashorn did not dump the JOx classes to disk when running with the -d flag
Reviewed-by: attila, sundar, hannesw
2014-09-05 16:28:02 +02:00
Lana Steuck
c14ade213d Merge 2014-09-04 14:45:42 -07:00
David Katleman
85ccd04a3c Added tag jdk9-b29 for changeset 14591ffc0c61 2014-09-04 13:26:40 -07:00
Attila Szegedi
6e6817cf2b 8056129: AtomicInteger is treated as primitive number with optimistic compilation
Reviewed-by: jlaskey, lagergren
2014-09-04 18:57:14 +02:00
Hannes Wallnöfer
7ecdd47620 8051889: Implement block scoping in symbol assignment and scope computation
Reviewed-by: attila, lagergren
2014-09-04 15:37:14 +02:00
Marcus Lagergren
917f13e5db 8057551: Let the -d flag dump _all_ generated classes to disk and work outside --compile-only mode
Reviewed-by: attila, jlaskey
2014-09-04 14:42:30 +02:00
Marcus Lagergren
6db003872b 8057019: Various problems with extra arguments to applies
Reviewed-by: attila, hannesw, jlaskey
2014-09-04 10:52:42 +02:00
Attila Szegedi
b0b75a5371 8056913: Limit the size of type info cache on disk
Reviewed-by: jlaskey, lagergren
2014-09-03 14:33:34 +02:00