61 Commits

Author SHA1 Message Date
Hannes Wallnöfer
50ef4854dc 8232209: Update double-conversion license file to version 3.1.5
Reviewed-by: sundar
2019-11-05 17:27:18 +01:00
Kiran Ravikumar
429237410f 8232984: Upgrading Joni License version to 2.1.16
Reviewed-by: coffeys
2019-11-04 14:24:36 +00:00
Hannes Wallnöfer
409113f576 8223518: Unexpected exception in jjs
Reviewed-by: sundar, mschoene, rhalade, jlaskey
2019-05-24 16:53:44 +02:00
Joe Darcy
9f4484ff92 8231557: Suppress warnings on non-serializable instance fields in jdk.scripting.nashorn module
Reviewed-by: jlaskey
2019-09-27 08:57:25 -07:00
Sergey Bylokhov
f8a875bfce 8231027: Correct typos
Reviewed-by: lancea, dholmes, erikj
2019-09-17 19:52:51 -07:00
Hannes Wallnöfer
1a81892aa6 8230709: Array index out of bounds in ES6 mode
Reviewed-by: attila
2019-09-10 15:35:35 +02:00
Mikael Vidstedt
cfcd0223a9 Merge 2019-07-12 02:50:43 -07:00
Hannes Wallnöfer
cd18508b2f 8227391: Update double-conversion to version 3.1.5
Reviewed-by: attila
2019-07-11 17:11:54 +02:00
Hannes Wallnöfer
61d10a507d 8223451: Make optimistic types disabled by default
Reviewed-by: sundar, jlaskey, attila
2019-07-11 16:43:15 +02:00
Hannes Wallnöfer
aba3b206cc 8222528: Fix javadoc headers in Nashorn sources
Reviewed-by: sundar
2019-04-16 18:22:13 +02:00
Vicente Romero
61082e6b25 8213480: update internal ASM version to 7.0
Reviewed-by: dholmes, iignatyev, alanb
2018-11-13 23:33:17 -05:00
Athijegannathan Sundararajan
b2ca521a02 8202936: Improve script engine support
Reviewed-by: jlaskey, ahgross, rhalade
2018-05-18 13:34:42 +05:30
Athijegannathan Sundararajan
724ba7feb2 8204492: Add deprecation annotation to Nashorn APIs and warning to nashorn, jjs
Reviewed-by: jlaskey, hannesw
2018-06-28 18:04:19 +05:30
Hannes Wallnöfer
e9068bec8c 8204290: Add check to limit number of capture groups
Reviewed-by: sundar, jlaskey
2018-06-08 11:11:06 +02:00
Hannes Wallnöfer
594e5df577 8204288: Matching the end of a string followed by an empty greedy regex and a word boundary fails
Reviewed-by: sundar, jlaskey
2018-06-08 11:08:38 +02:00
Hannes Wallnöfer
4bbca4651c 8200716: Object propertyIsEnumerable buggy behavior on short integer-string key
Reviewed-by: jlaskey, sundar
2018-05-08 09:41:10 +02:00
Hannes Wallnöfer
70146f48d5 8201466: Nashorn: defineProperty setters/getters on prototype object ignored with numeric property names
Reviewed-by: sundar, jlaskey
2018-04-23 17:45:05 +02:00
Athijegannathan Sundararajan
008199321a 8200215: 17th loop of "let foo = ''"; throws ReferenceError
Reviewed-by: jlaskey, attila, hannesw
2018-03-26 19:27:45 +05:30
Hannes Wallnöfer
589e1177ef 8199869: Missing copyright headers in nashorn source code
Reviewed-by: sundar
2018-03-21 16:55:34 +01:00
Hannes Wallnöfer
2ca067436f 8199443: Nashorn multithread bottleneck with "use strict"
Reviewed-by: jlaskey, sundar
2018-03-16 14:56:54 +01:00
Hannes Wallnöfer
42f6751d6f 8199236: Nashorn uses deprecated HTML tags in Javadoc
Reviewed-by: jlaskey, sundar
2018-03-07 18:36:21 +01:00
Attila Szegedi
b1c09c22bb 8193295: Remove no longer used COMMALEFT
Reviewed-by: hannesw, mhaupt
2018-02-11 12:41:56 +01:00
Athijegannathan Sundararajan
005ff62989 8195829: Parsing a nameless ES6 class results in a thrown NullPointerException
Reviewed-by: jlaskey, hannesw
2018-01-22 20:31:19 +05:30
Lana Steuck
8f528fba93 Merge 2018-01-18 18:58:46 +00:00
Hannes Wallnöfer
97a0bf821a 8195123: Very large regressions in Octane benchmarks using 10-b39
Reviewed-by: jlaskey, attila
2018-01-17 22:44:40 +01:00
Goetz Lindenmaier
22762d1cdc 8189102: All tools should support -?, -h and --help
Reviewed-by: kvn, jjg, weijun, alanb, rfield, ksrini
2018-01-16 08:48:34 +01:00
Lana Steuck
aad1a3592c Merge 2018-01-16 22:24:20 +00:00
Hannes Wallnöfer
07c484a8a9 8194985: JavaAdapterBytecodeGenerator passes invalid type descriptor to ASM
Reviewed-by: sundar, attila
2018-01-15 11:07:41 +01:00
Attila Szegedi
59c3bea9f1 8193371: Use Dynalink REMOVE operation in Nashorn
Reviewed-by: hannesw, sundar
2017-12-20 17:36:50 +01:00
Priya Lakshmi Muthuswamy
7c55b72726 8193491: JavaImporter fails to resolve method elements within functions, that contain too many statements
Reviewed-by: hannesw, sundar, jlaskey
2017-12-21 10:26:03 +01:00
Hannes Wallnöfer
a37fb7b942 8193508: Expressions in split literals must never be optimistic
Reviewed-by: jlaskey, sundar
2017-12-20 21:40:11 +01:00
Athijegannathan Sundararajan
281beca855 8193779: Fix copyright header in nashorn builtin scripts
Reviewed-by: alanb, hannesw
2017-12-19 21:35:30 +05:30
Hannes Wallnöfer
0e4506a71b 8193567: Conversion of comparison nodes affects local slots in optimistic continuation
Reviewed-by: jlaskey, attila
2018-01-08 17:16:37 +01:00
Attila Szegedi
185172f2ef 8193296: Parser should not eagerly transform delete expressions
Reviewed-by: hannesw, sundar
2017-12-14 13:42:59 +01:00
Priya Lakshmi Muthuswamy
36f7775ba3 8191301: JavaImporter fails to resolve imported elements within functions, that contain too many statements
Reviewed-by: hannesw, attila
2017-12-14 02:26:45 +01:00
Hannes Wallnöfer
225ec213e4 8069338: Implement sharedScopeCall for optimistic types
Reviewed-by: attila, sundar
2017-12-12 15:38:18 +01:00
Priya Lakshmi Muthuswamy
6534e2ad54 8193137: Nashorn crashes when given an empty script file
Reviewed-by: hannesw, sundar
2017-12-08 12:02:30 +01:00
Hannes Wallnöfer
6e56bec454 8059835: Optimistic splitting doesn't work with let and const
Reviewed-by: jlaskey, attila
2017-11-28 15:36:36 +01:00
Athijegannathan Sundararajan
589129ece4 8135178: importPackage not working even with load "Mozilla compatibility script"
Reviewed-by: hannesw
2017-11-27 17:04:33 +05:30
Hannes Wallnöfer
0a304e24b0 8191819: String.prototype.match should follow ES6 specification
Reviewed-by: sundar
2017-11-23 16:20:10 +01:00
Athijegannathan Sundararajan
d6cf9ab9cd 8068741: javax.script.ScriptEngineFactory.getMethodCallSyntax() spec allows null passed as an object
Reviewed-by: hannesw
2017-11-15 23:25:40 +05:30
Athijegannathan Sundararajan
f441abcff1 8191306: Math.abs corner case with optimistic typing
Reviewed-by: jlaskey, hannesw
2017-11-15 19:55:21 +05:30
Hannes Wallnöfer
239fdbbca6 8185119: Uninitialized const when using multiple threads
Reviewed-by: jlaskey, sundar
2017-11-14 10:04:45 +01:00
Priya Lakshmi Muthuswamy
c9944644fd 8190391: nashorn "!!" of nonzero even integer var becomes false when returned
Reviewed-by: sundar, hannesw
2017-11-13 15:54:20 +01:00
Hannes Wallnöfer
c2a4b3a570 8190427: Test for JDK-8165198 fails intermittently because of GC
Reviewed-by: jlaskey, sundar
2017-11-08 12:15:24 +01:00
Priya Lakshmi Muthuswamy
018138a79c 8186807: JSObject gets ScriptFunction when ScriptObjectMirror is expected
Reviewed-by: sundar, hannesw
2017-11-07 12:18:29 +01:00
Priya Lakshmi Muthuswamy
6a0b70e242 8165198: Inconsistent values with JavaImporter after accessing undefined variable
Reviewed-by: sundar, hannesw
2017-10-23 13:03:01 +02:00
Hannes Wallnöfer
7ff7f3b5ab 8189617: Remove undocumented --print-mem-usage option
Reviewed-by: jlaskey, sundar
2017-10-19 20:34:48 +02:00
Hannes Wallnöfer
5c7381d739 8068513: Adding elements to a javascript 'object' (a map) is slow
Reviewed-by: jlaskey, sundar
2017-10-16 18:27:07 +02:00
Hannes Wallnöfer
61995f03d4 8027302: Identifiers containing unicode escapes are not recognized as reserved words
Reviewed-by: jlaskey, sundar
2017-10-13 17:25:12 +02:00