1133 Commits

Author SHA1 Message Date
Srinivas Dama
679105dc96 8179891: JavaDoc for for..in is incorrect
Fixed javadoc typo error

Reviewed-by: sundar, hannesw, jlaskey
2017-05-12 12:12:37 +05:30
Magnus Ihse Bursie
157b12d6e2 8179889: Fix typographic errors in copyright headers
Reviewed-by: erikj, dholmes
2017-05-09 12:54:39 +02:00
Jonathan Gibbons
618d959502 8179304: Fix HTML 5 errors in jdk.scripting.nashorn and jdk.dynalink module
Reviewed-by: sundar, jlaskey, hannesw
2017-04-26 10:56:28 -07:00
Vyom Tewari
30d017b58b 8177656: Closed/nashorn/JDK_8034967.java starts failing (all platforms) since 9/154
Reviewed-by: jlaskey
2017-04-12 14:35:08 +05:30
Athijegannathan Sundararajan
2c6e174565 8178954: jjs uses wrong javadoc base URL
Reviewed-by: hannesw
2017-04-19 14:05:58 +05:30
Alan Bateman
17bc19519a Merge 2017-04-07 09:27:26 +01:00
Alan Bateman
0803dc262b 8177530: Module system implementation refresh (4/2017)
Reviewed-by: mchung
2017-04-07 08:08:42 +00:00
Mandy Chung
3ff43d350b 8178286: Missing @moduleGraph in javadoc
Reviewed-by: lancea
2017-04-06 18:00:57 -07:00
Hannes Wallnöfer
f36a94bedc 8176511: JSObject property access is broken for numeric keys outside the int range
Reviewed-by: sundar
2017-03-10 18:30:39 +01:00
Srinivas Dama
398d0fde5a 8156743: ES6 for..of should work for Java Maps and Sets
Implemented java map object iterator which behaves similar to native map object iterator

Reviewed-by: jlaskey, attila
2017-03-02 09:01:55 -08:00
Hamlin Li
ad981f39b5 8174699: Fix @since in module-info.java in dev/nashorn repo
Reviewed-by: jlaskey
2017-02-12 18:37:38 -08:00
Alan Bateman
287e05b579 8173393: Module system implementation refresh (2/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: mchung, alanb
2017-02-10 09:06:27 +00:00
Hannes Wallnöfer
9d1a6b4fa0 8169481: StackOverflowError on start when parsing PAC file to autodetect Proxy settings
Reviewed-by: jlaskey, sundar
2017-02-02 18:23:28 +01:00
Hannes Wallnöfer
350933063e 8173480: in operator should work on java objects and classes
Reviewed-by: jlaskey, sundar
2017-01-31 10:48:49 +01:00
Hannes Wallnöfer
bd7de57d55 8172006: Nashorn JavaScript engine fails to call @FunctionalInterface with a java.util.List argument
Reviewed-by: attila, jlaskey
2017-01-26 12:58:57 +01:00
Hannes Wallnöfer
a043135fe4 8166186: ClassCastException with arguments usage
Reviewed-by: attila, sundar
2017-01-25 09:49:02 +01:00
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