Commit Graph

45 Commits

Author SHA1 Message Date
Hannes Wallnöfer
1a81892aa6 8230709: Array index out of bounds in ES6 mode
Reviewed-by: attila
2019-09-10 15:35:35 +02:00
Hannes Wallnöfer
c49ed302bb 8230766: Changed message in IllegalMonitorStateException
Reviewed-by: attila, jlaskey
2019-09-10 15:30:23 +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
Henry Jen
d77f96b0b2 Merge 2018-12-13 11:47:35 -08:00
Jan Lahoda
cc116b1259 8214491: Upgrade to JLine 3.9.0
Upgrading JLine to 3.9.0 and updating jshell and jjs to the new JLine.

Reviewed-by: rfield, sundar
2018-12-11 11:29:28 +01:00
Thejasvi Voniadka
90aa9d02a4 8203688: [testbug] Nashorn test test/nashorn/script/nosecurity/treeapi/diagnostic.js fails
Updating the expected output for diagnostic.js to its correct value

Reviewed-by: jlaskey, sundar
2018-08-28 13:22:57 +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
Priya Lakshmi Muthuswamy
e2620f3128 8147614: add jjs test for -t option
Reviewed-by: hannesw, jlaskey, sundar
2018-01-24 11:29:01 +05:30
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
aad1a3592c Merge 2018-01-16 22:24:20 +00:00
Priya Lakshmi Muthuswamy
f815c509cf 8157251: BeanLinker relinks array length operations for array types
Reviewed-by: hannesw, jlaskey, attila
2018-01-12 10:33:06 +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
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
6a826075c2 8191468: jdk.scripting.nashorn.shell (jjs) module should use optional dependency for java.compiler module
Reviewed-by: hannesw, jlaskey
2017-11-17 18:43:27 +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
Athijegannathan Sundararajan
10c8d3a9f1 8190698: jjs tool of jdk.scripting.nashorn.shell module should not statically depend on java.desktop
Reviewed-by: jlaskey, hannesw
2017-11-03 19:53:09 +05:30
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
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
Srinivas Dama
f2a9034adf 8147076: LinkerCallSite.ARGLIMIT is used incorrectly
Modified ARGLIMIT

Reviewed-by: hannesw, jlaskey
2017-09-30 03:15:56 +05:30
Athijegannathan Sundararajan
cea7897f08 8188098: NPE in SimpleTreeVisitorES6 visitor when parsing a tagged template literal
Reviewed-by: hannesw, jlaskey
2017-09-28 23:03:17 +05:30
Hannes Wallnöfer
2e46c1508a 8186815: Java.from has a bug, when element is ScriptObject
Reviewed-by: sundar, jlaskey
2017-09-27 17:09:52 +02:00
Priya Lakshmi Muthuswamy
10f7bd1ab6 8133623: JDK-8055034.js and JDK-8130127.js fail in nashorn nightly
Reviewed-by: sundar, hannesw
2017-09-27 15:26:35 +02:00
Hannes Wallnöfer
047f60b678 8187962: Optimistic types ignore JavaAdapter return types
Reviewed-by: sundar, attila
2017-09-27 14:56:19 +02:00
Srinivas Dama
2dc0eaaa4b 8185257: Nashorn AST is missing nodes when a for-loop contains a VariableDeclarationList
Var declaration in for loop removed from block scope in es6 mode

Reviewed-by: hannesw, sundar
2017-09-26 07:00:43 +05:30
Priya Lakshmi Muthuswamy
6c1410fffa 8186180: Symbol.__proto__ results in error with format string placeholder
Reviewed-by: sundar, hannesw
2017-09-22 11:52:38 +02:00
Hannes Wallnöfer
9ddbf8fde2 8186646: Nashorn: "duplicate code" assertion when binding a vararg function that just passes arguments along
Reviewed-by: sundar, jlaskey
2017-09-21 14:40:50 +02:00
Erik Joelsson
72c4ec5462 8187444: Forest Consolidation: Make build work
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Reviewed-by: darcy, ihse
2017-09-12 19:03:56 +02:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00