Commit Graph

714 Commits

Author SHA1 Message Date
Srinivas Dama
f83c435f2f 8151994: test/script/basic/JDK-8141209.js fails
Added @fork tag and moved test case to trusted directory

Reviewed-by: jlaskey, hannesw
2016-12-22 10:36:34 -08:00
Attila Szegedi
332a546742 8171849: Collection and Queue conversions not prioritized for Arrays
Reviewed-by: hannesw, jlaskey
2016-12-22 18:13:41 +01:00
Hannes Wallnöfer
1aab882546 8171219: Missing checks in sparse array shift() implementation
Reviewed-by: jlaskey, attila, sundar
2016-12-15 14:17:21 +01:00
Srinivas Dama
18a725ff0c 8130351: JDK-8130127.js fails under cygwin: cygwin path pased to Java
Jjs uses jline which expects newline character to terminate interactive input

Reviewed-by: sundar, jlaskey
2016-12-01 08:12:06 -08:00
Attila Szegedi
c3c7c2e7f9 8170594: >>>=0 generates invalid bytecode for BaseNode LHS
Reviewed-by: jlaskey, sundar
2016-12-01 14:37:39 +01:00
Alan Bateman
7fe5109735 Merge 2016-12-01 11:17:05 +00:00
Alan Bateman
a8e63c4db5 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, sundar
2016-12-01 09:04:29 +00:00
Hannes Wallnöfer
ae84c4233f 8161579: Array-like AbstractJSObject-based instance not treated as array by native array functions
Reviewed-by: jlaskey, attila
2016-11-28 09:57:40 +01:00
Hannes Wallnöfer
d7a27bad03 8170322: Specialized functions convert booleans to numbers
Reviewed-by: jlaskey, attila
2016-11-25 14:20:24 +01:00
Hannes Wallnöfer
ca6b880707 8169886: Add test for JDK-8162839 that runs with SecurityManager
Reviewed-by: sundar
2016-11-18 15:26:24 +01:00
Srinivas Dama
d867ed9a8d 8156615: Catch parameter can be a BindingPattern in ES6 mode
Added parser support for catch parameter being a binding pattern

Reviewed-by: sundar, hannesw, attila
2016-11-14 22:33:33 -08:00
Attila Szegedi
1406cd4347 8168373: don't emit conversions for symbols outside their lexical scope
Reviewed-by: hannesw, sundar
2016-11-11 15:50:51 +01:00
Hannes Wallnöfer
165429d978 8156619: Unimplemented ES6 features should result in clear Error being thrown
Reviewed-by: sundar, attila
2016-11-07 14:48:26 +01:00
Hannes Wallnöfer
6a77385b4d 8148924: Inconsistent "this" context in JSAdapter adaptee function calls
Reviewed-by: jlaskey
2016-10-28 16:52:20 +02:00
Hannes Wallnöfer
eb56550d40 8164708: String.prototype.replace replaces empty match twice
Reviewed-by: sundar, attila
2016-10-24 13:20:27 +02:00
Hannes Wallnöfer
da7114d2a6 8168140: TypedArrays should implement ES6 iterator protocol
Reviewed-by: sundar, lagergren
2016-10-21 10:02:09 +02:00
Hannes Wallnöfer
6c3ae31f78 8168146: Infinite recursion in Uint8ClampedArray.set
Reviewed-by: sundar
2016-10-21 09:43:11 +02:00
Hannes Wallnöfer
70e402c190 8166902: Nested object literal property maps not reset in optimistic recompilation
Reviewed-by: lagergren, attila
2016-09-30 19:40:31 +02:00
Hannes Wallnöfer
414dc12887 8164467: ES6 computed properties are implemented wrongly
Reviewed-by: sundar, lagergren
2016-09-26 13:27:45 +02:00
Athijegannathan Sundararajan
60ecb41667 8166298: 3 nashorn ant tests fail with latest jdk9-dev tip
Reviewed-by: hannesw, mhaupt
2016-09-20 21:53:00 +05:30
Hannes Wallnöfer
2df77e13ce 8077149: __noSuchProperty__ and __noSuchMethod__ invocations are not properly guarded
Reviewed-by: jlaskey, mhaupt
2016-09-07 22:48:02 +02:00
Hannes Wallnöfer
8e560dc22e 8163945: Honor Number type hint in toPrimitive on Numbers
Reviewed-by: jlaskey, mhaupt
2016-08-16 15:04:51 +02:00
Mandy Chung
00bf56a8f2 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: alanb, ksrini, henryjen, sundar
2016-08-10 15:49:16 -07:00
Hannes Wallnöfer
e753c8edeb 8162771: Strict equality operators should not be optimistic
Reviewed-by: jlaskey, sundar
2016-08-02 12:39:25 +02:00
Hannes Wallnöfer
baad0ee85d 8160034: The this value in the with is broken by the repetition of a function call
Reviewed-by: attila, sundar
2016-07-28 16:27:00 +02:00
Hannes Wallnöfer
ffab346e43 8068972: Array.splice should follow the ES6 specification
Reviewed-by: mhaupt, jlaskey
2016-07-26 15:56:35 +02:00
Michael Haupt
ec5ad88851 8142969: Nashorn logging API requires testing
Reviewed-by: sundar, mhaupt
2016-07-21 10:40:05 +02:00
Athijegannathan Sundararajan
4597649209 8149929: Nashorn Parser API needs to be updated for ES6
Reviewed-by: mhaupt, hannesw
2016-07-12 21:18:13 +05:30
Hannes Wallnöfer
4f3b48809e 8073653: Secondary heredoc eating wrong lines
Reviewed-by: mhaupt, jlaskey
2016-06-24 14:46:45 +02:00
Hannes Wallnöfer
939f1f7308 8137240: Negative lookahead in RegEx breaks backreference
Reviewed-by: mhaupt
2016-06-24 12:39:42 +02:00
Hannes Wallnöfer
1f71896acb 8156614: Lazy parsing of ES6 shorthand method syntax is broken
Reviewed-by: sundar, mhaupt
2016-06-20 12:21:51 +02:00
Athijegannathan Sundararajan
2c1f125385 8158467: AccessControlException is thrown on public Java class access if "script app loader" is set to null
Reviewed-by: mhaupt, hannesw
2016-06-02 14:56:20 +05:30
Athijegannathan Sundararajan
1f0c44c1c4 8157819: TypeError when a java.util.Comparator object is invoked as a function
Reviewed-by: mhaupt, forax, hannesw
2016-05-25 19:25:57 +05:30
Athijegannathan Sundararajan
883dc41e42 8157680: Callback parameter of any JS builtin implementation should accept any Callable
Reviewed-by: hannesw, mhaupt
2016-05-25 15:14:37 +05:30
Michael Haupt
11a849f973 8157444: exclude jjs shebang handling test from runs
Reviewed-by: sundar, hannesw, jlaskey
2016-05-20 16:02:36 +02:00
Hannes Wallnöfer
165edba622 8066229: Fuzzing bug: Can't find scope depth
Reviewed-by: sundar
2016-05-18 18:44:44 +02:00
Michael Haupt
4ad196ec4f 8157250: BeanLinker assumes fixed array type linkage
Reviewed-by: attila, sundar
2016-05-18 17:37:34 +02:00
Athijegannathan Sundararajan
2479973df8 8157160: JSON.stringify does not work on ScriptObjectMirror objects
Reviewed-by: hannesw, mhaupt
2016-05-18 14:08:38 +05:30
Hannes Wallnöfer
aa5b0068ac 8156714: Parsing issue with automatic semicolon insertion
Reviewed-by: jlaskey, sundar
2016-05-13 18:38:15 +02:00
Hannes Wallnöfer
96e6ae9274 8156896: Script stack trace should display function names
Reviewed-by: attila, sundar
2016-05-13 14:30:54 +02:00
Athijegannathan Sundararajan
9f4a84d825 8156665: ES6 for..of should work on Java Iterables and Java arrays
Reviewed-by: attila, hannesw
2016-05-10 22:26:51 +05:30
Athijegannathan Sundararajan
7294fd831a 8156492: ClassFormatError thrown when arrow function is used
Reviewed-by: jlaskey
2016-05-09 10:48:10 +05:30
Hannes Wallnöfer
edd7a01d4b 8144711: (x) => x + 1 causes Assertion failure instead of SyntaxError
Reviewed-by: mhaupt, sundar
2016-05-04 13:39:41 +02:00
Andreas Woess
0f84fadba6 8155025: 0.001.toFixed(2) should return "0.00" not "0"
Reviewed-by: jlaskey, hannesw
2016-04-28 10:42:33 +02:00
Andreas Woess
5881148f01 8134503: support ES6 parsing in Nashorn
Reviewed-by: jlaskey, sundar, mhaupt
2016-04-27 15:50:33 +02:00
Michael Haupt
8aae21d35a 8137149: add tests for issues closed during Nashorn issue cleanup
Reviewed-by: jlaskey, sundar
2016-04-11 18:10:30 +02:00
Hannes Wallnöfer
d50a34f94f 8151700: Add support for ES6 for-of
Reviewed-by: attila, sundar
2016-03-24 11:43:48 +01:00
Chris Hegarty
30266d79fb Merge 2016-03-22 15:26:07 +00:00
Hannes Wallnöfer
1503e09bb0 8151811: Const declarations do not work in for..in loops
Reviewed-by: attila, lagergren
2016-03-22 14:26:20 +01:00
Hannes Wallnöfer
4948ac6654 8151810: for-in iteration does not provide per-iteration scope
Reviewed-by: attila, lagergren
2016-03-22 14:23:16 +01:00