1117 Commits

Author SHA1 Message Date
Hannes Wallnöfer
446836d831 8166187: Regression: NPE during reparse when using persistent code cache and optimistic types
Reviewed-by: jlaskey, attila
2017-01-10 17:52:29 +01:00
Hannes Wallnöfer
d8842ee65e 8170781: PropertyMapIterator throws NoSuchElementException on last element
Reviewed-by: sundar, attila
2017-01-10 15:27:14 +01:00
Athijegannathan Sundararajan
63348f62cf 8172493: Nashorn FX example 3-4 using load for fx: scripts fails to run with latest jdk9 ea build
Reviewed-by: hannesw, jlaskey
2017-01-10 18:50:53 +05:30
Athijegannathan Sundararajan
9d783cdba2 8164391: Provide a javadoc description for jdk.scripting.nashorn
Reviewed-by: attila, jlaskey
2017-01-04 18:47:35 +05:30
Athijegannathan Sundararajan
fe1956e041 8172183: Provide a javadoc description for jdk.dynalink module
Reviewed-by: attila, jlaskey
2017-01-03 22:14:41 +05:30
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
cc7b595145 8170977: SparseArrayData should not grow its underlying dense array data
Reviewed-by: jlaskey, attila
2016-12-22 16:51:07 +01:00
Alan Bateman
dd38ab21b7 Merge 2016-12-16 08:18:09 +00:00
Alan Bateman
090b01cc41 8170987: Module system implementation refresh (12/2016)
Reviewed-by: mchung
2016-12-16 05:49:14 +00: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
Mandy Chung
9ed13d6bb0 8169925: Organize licenses by module in source, JMOD file, and run-time image
Co-authored-by: Jeannette Hung <jeannette.hung@oracle.com>
Reviewed-by: alanb, erikj, ihse, naoto, prr
2016-12-12 18:57:19 -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
Athijegannathan Sundararajan
b16751e52b 8170402: Compilation warning with NashornException
Reviewed-by: hannesw, jlaskey
2016-11-28 21:13:52 +05:30
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
29d6255379 8162839: JavaAdapters do not work with ScriptObjectMirror objects
Reviewed-by: sundar, jlaskey
2016-11-17 13:39:30 +01:00
Jonathan Gibbons
2eb76ee6e6 8163190: Clarify JavaFileManager use of \"module location\"
Reviewed-by: jlahoda
2016-11-16 12:35:19 -08: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
Hannes Wallnöfer
8a2f4e80e4 8168049: Fix Performance of Lexer.isJSWhitespace
Reviewed-by: sundar, attila
2016-11-11 18:56:37 +01: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
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
Jan Lahoda
3334929d21 8166183: jshell tool: on return from Ctrl-Z, garbage on screen, dies with Ctrl-C
Reset the console when the process is suspended and resumed.

Reviewed-by: sundar
2016-10-19 12:42:41 +02:00
Athijegannathan Sundararajan
093753dee1 8071588: The spec for javax.script.ScriptEngineFactory.getProgram() should specify NPEs thrown
Reviewed-by: alanb, hannesw
2016-10-19 13:27:20 +05:30
Athijegannathan Sundararajan
c299fc425d 8167614: Avoid module dependency from jdk.dynalink to jdk.internal.module of java.base module
Reviewed-by: jlaskey, alanb
2016-10-12 22:42:23 +05:30
Attila Szegedi
7975bee5dc 8167443: Nashorn static method linking bypasses autoexported linkers
Reviewed-by: hannesw, sundar
2016-10-12 13:23:15 +02:00
Athijegannathan Sundararajan
5cb4f9c787 8167018: Nashorn and jjs should support --module-path and --add-modules options
Reviewed-by: jlaskey, hannesw
2016-10-07 21:28:20 +05:30
Andreas Woess
e29b338cd7 8167289: Backport ES6 updates from Graal.js
Reviewed-by: lagergren, sundar
2016-10-07 10:30:14 +02:00
Attila Szegedi
c86ac94029 8167117: insert missing final keywords
Reviewed-by: jlaskey, sundar
2016-10-06 16:27:47 +02:00
Attila Szegedi
13b1a55ffa 8167037: Remove CALL_METHOD support from internal Nashorn linkers
Reviewed-by: hannesw, sundar
2016-10-04 13:23:10 +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
Srinivas Dama
a68f80b645 8166296: add documentation for Date,RegExp,Error,JSON objects
Reviewed-by: mhaupt, sundar
2016-09-20 11:33:03 +02:00
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
Athijegannathan Sundararajan
87f1cd1d73 8164748: Edit pad crashes when calling function
Reviewed-by: jlaskey
2016-08-25 22:23:59 +05:30
Srinivas Dama
200608b4c0 8164618: add documentation for NativeNumber and NativeBoolean
Reviewed-by: sundar
2016-08-24 14:02:41 +05:30
Athijegannathan Sundararajan
a225cebefc 8164260: readLine does not echo characters
Reviewed-by: jlaskey
2016-08-18 16:54:27 +05:30
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
Srinivas Dama
54130ef8d3 8134304: NPE in initialization of OptimisticTypesPersistence
Reviewed-by: hannesw, jlaskey, mhaupt
2016-08-10 09:21:58 -07:00
Hannes Wallnöfer
08076a7b14 8162955: Activate anonymous class loading for small sources
Reviewed-by: sundar
2016-08-08 12:51:44 +02: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