Commit Graph

825 Commits

Author SHA1 Message Date
Magnus Ihse Bursie
bf99b86142 8170629: Remove code duplication in test makefiles
Reviewed-by: erikj, dholmes
2016-12-07 09:48:24 +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
Athijegannathan Sundararajan
fa4bdd39c5 8170565: JSObject call() is passed undefined for the argument 'thiz'
Reviewed-by: hannesw, jlaskey, attila
2016-12-01 18:53:51 +05:30
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
Magnus Ihse Bursie
1f035a5b93 8168037: Use ZIPEXE instead of ZIP to avoid clash with options for zip
Reviewed-by: erikj
2016-11-22 14:48:16 +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
Hannes Wallnöfer
29d6255379 8162839: JavaAdapters do not work with ScriptObjectMirror objects
Reviewed-by: sundar, jlaskey
2016-11-17 13:39:30 +01:00
Jesper Wilhelmsson
fd511dd85e Merge 2016-11-09 13:37:21 +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
Athijegannathan Sundararajan
65f0e66185 8169050: underscore_linker.js sample fails after dynalink changes for JDK-8168005
Reviewed-by: jlaskey, hannesw
2016-11-02 18:36:26 +05:30
Attila Szegedi
8ad5a6b4a1 8168005: Introduce namespaces for GET, SET Dynalink operations
Reviewed-by: hannesw, sundar
2016-11-01 15:31:44 +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
Staffan Larsen
b32098e9d5 8168483: Remove jtreg timeout handler timeout
Reviewed-by: dholmes, tbell
2016-10-24 09:07:57 +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
Attila Szegedi
7975bee5dc 8167443: Nashorn static method linking bypasses autoexported linkers
Reviewed-by: hannesw, sundar
2016-10-12 13:23:15 +02:00
Attila Szegedi
c86ac94029 8167117: insert missing final keywords
Reviewed-by: jlaskey, sundar
2016-10-06 16:27:47 +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
Tim Bell
08a72f8286 8160505: Automated test runs fail in nashorn because TEST_IMAGE_DIR is set by jib
Reviewed-by: erikj, sundar
2016-06-29 07:35:59 -07:00
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
d172b7b70b 8159977: typeof operator does not see lexical bindings declared in other scripts
Reviewed-by: sundar
2016-06-22 16:30:41 +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
Hannes Wallnöfer
acd4bf8777 8150219: ReferenceError in 1.8.0_72
Reviewed-by: attila, sundar
2016-06-20 11:44:29 +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
Staffan Larsen
2baa671d45 8157605: Can't set both CONCURRENCY and EXTRA_JTREG_OPTIONS when running tests
Reviewed-by: tbell, erikj
2016-05-24 12:15:02 +02:00
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
dfcb34c132 8157241: Remove javac warnings of Nashorn "ant clean test"
Reviewed-by: mhaupt, hannesw
2016-05-18 20:17:48 +05:30
Athijegannathan Sundararajan
2479973df8 8157160: JSON.stringify does not work on ScriptObjectMirror objects
Reviewed-by: hannesw, mhaupt
2016-05-18 14:08:38 +05:30