1085 Commits

Author SHA1 Message Date
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
Attila Szegedi
860e71a134 8156738: Use StackWalker for DynamicLinker.getLinkedCallSiteLocation
Reviewed-by: hannesw, sundar
2016-05-11 19:24:29 +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
Athijegannathan Sundararajan
da75338df2 8156489: jjs tab-completion crashes with stack overflow error
Reviewed-by: jlaskey
2016-05-07 20:13:47 +05:30
Athijegannathan Sundararajan
89cdc7ca82 8150731: Nashorn JSObject linker should be exposed as a service provider
Reviewed-by: jlaskey, hannesw
2016-05-06 20:27:20 +05:30
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
Chris Hegarty
9ec1590f28 8137058: Clear out all non-Critical APIs from sun.reflect
Reviewed-by: alanb, jfranck, mchung
2016-04-15 16:19:15 +01:00
Jim Laskey
2e91e2e23c 8075550: Error "JavaFX runtime not found" in nashorn when load predefines scripts to import JavaFX packages
Reviewed-by: kcr, sundar
2016-04-11 10:01:39 -03: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
Chris Hegarty
072178cc9c Merge 2016-03-22 10:52:12 +00:00
Chris Hegarty
62a318ede2 Merge 2016-03-22 10:43:23 +00:00
Hannes Wallnöfer
913b65ce9d 8151809: ES6 Map/Set insertion with existing keys changes iteration order
Reviewed-by: lagergren, mhaupt
2016-03-21 11:50:23 +01:00
Alan Bateman
9a9e272b1d 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Reviewed-by: mhaupt, hannesw
2016-03-17 19:04:35 +00:00
Attila Szegedi
e8fb7e0b2c 8150218: Autoconversion SAM adapters sometimes don't get privileges
Reviewed-by: mhaupt, sundar
2016-03-15 16:02:00 +01:00
Hannes Wallnöfer
a8987f1075 8151515: $EXEC output is truncated
Reviewed-by: sundar, jlaskey
2016-03-09 15:45:44 +01:00
Michael Haupt
e53b5a35be 8151291: $EXEC yields "unknown command" on Cygwin
Reviewed-by: jlaskey, hannesw, sdama
2016-03-09 13:24:01 +01:00
Hannes Wallnöfer
eee630daaa 8148148: Remove pluggable CodeStore API
Reviewed-by: attila, mhaupt
2016-03-07 13:28:51 +01:00
Athijegannathan Sundararajan
451cd91ea9 8148379: jdk.nashorn.api.scripting spec. adjustments, clarifications
Reviewed-by: hannesw, mhaupt
2016-02-25 13:56:23 +05:30
Attila Szegedi
0b312f1dc2 8149451: Fix bytecode generation issue after 8149186
Reviewed-by: mhaupt, sundar
2016-02-18 22:34:40 -08:00
Michael Haupt
18677d77f6 8148140: arguments are handled differently in apply for JS functions and AbstractJSObjects
Reviewed-by: hannesw, sundar
2016-02-16 15:34:27 +01:00
Hannes Wallnöfer
1e80d261e3 8147558: Add support for ES6 collections
Reviewed-by: attila, mhaupt
2016-02-15 17:02:32 +01:00
Jim Laskey
2876c5dab0 8149665: $EXEC changes clean up
Reviewed-by: attila
2016-02-11 12:58:57 -04:00
Jim Laskey
b55ad227cb 8141209: $EXEC should allow streaming
Reviewed-by: sundar
2016-02-10 11:18:02 -04:00
Michael Haupt
fae4ea4cac 8149462: revert changes for 8149186
Reviewed-by: jlaskey, sundar
2016-02-09 14:14:06 +01:00
Michael Haupt
ae0daf5c8b 8149334: JSON.parse(JSON.stringify([])).push(10) creates an array containing two elements
Reviewed-by: jlaskey, sundar
2016-02-08 17:43:02 +01:00
Attila Szegedi
7415b64ed6 8149186: Don't use indy for optimistic arithmetic
Reviewed-by: mhaupt, sundar
2016-02-08 12:59:08 +01:00
Athijegannathan Sundararajan
cedd845b27 8148926: Call site profiling fails on braces-wrapped anonymous function
Reviewed-by: jlaskey, hannesw
2016-02-04 17:42:46 +05:30
Srinivas Dama
f651deea03 8147591: Revisit Collection.toArray(new T[size]) calls in nashorn and dynalink code
Reviewed-by: hannesw, mhaupt, sundar
2016-01-28 11:20:44 +01:00
Hannes Wallnöfer
a6932e5352 8148214: Slow object allocation due to multiple synchronization
Reviewed-by: attila, mhaupt
2016-01-26 13:46:00 +01:00
Attila Szegedi
495414b40c 8133299: Nashorn Java adapters should not early bind to functions
Reviewed-by: hannesw, lagergren, sundar
2016-01-23 11:50:24 +01:00
Hannes Wallnöfer
fdfdf19e75 8147845: Varargs Array functions still leaking longs
Reviewed-by: mhaupt, sundar
2016-01-21 16:31:27 +01:00
Iris Clark
fff2106bbc 8136494: Update "@since 1.9" to "@since 9" to match java.version.specification
Reviewed-by: alanb, chegar, lancea
2016-01-19 20:31:40 -08:00
Michael Haupt
56fb28f292 8145305: fix Nashorn shebang handling on Cygwin
Reviewed-by: hannesw, sundar
2016-01-18 11:31:43 +01:00
Hannes Wallnöfer
db40a8396b 8146274: Thread spinning on WeakHashMap.getEntry() with concurrent use of nashorn
Reviewed-by: mhaupt, attila
2016-01-18 10:25:36 +01:00
Attila Szegedi
df1606c088 8144919: Implement missing member handler for BeansLinker
Reviewed-by: lagergren, mhaupt, sundar
2016-01-14 13:24:03 +01:00
Attila Szegedi
0beda5bcab 8144917: Prepare AbstractJavaLinker/BeanLinker codebase for missing member implementation
Reviewed-by: mhaupt, sundar
2016-01-14 13:22:58 +01:00
Athijegannathan Sundararajan
e267b166cb 8147070: Dynalink GuardedInvocation must check the Class object passed
Reviewed-by: hannesw, mhaupt, attila
2016-01-14 15:35:43 +05:30
Hannes Wallnöfer
bfa98d042c 8147008: Nashorn primitive linker should handle ES6 symbols
Reviewed-by: attila, sundar
2016-01-13 19:34:13 +01:00
Hannes Wallnöfer
dd9c62130f 8143896: java.lang.Long is implicitly converted to double
Reviewed-by: mhaupt, jlaskey
2016-01-12 16:30:10 +01:00
Alan Bateman
910a1d8e14 8049422: Remove @jdk.Exported
Reviewed-by: dfuchs, mchung, darcy, chegar
2016-01-08 11:46:46 +00:00
Athijegannathan Sundararajan
017a8a1f36 8146625: OverloadedDynamicMethod has unused ClassLoader field that can be removed
Reviewed-by: attila, hannesw
2016-01-07 21:47:21 +05:30
Athijegannathan Sundararajan
3b28163296 8146556: jdk.dynalink.beans.ClassLinker can avoid using specific lookup and can use publicLookup instead
Reviewed-by: jlaskey
2016-01-06 20:19:02 +05:30
Athijegannathan Sundararajan
19a73fe658 8146253: jjs should look for "doc string" property to print documentation on shift-tab
Reviewed-by: attila
2015-12-30 09:57:40 +05:30
Athijegannathan Sundararajan
8717426652 8146251: Avoid annotation to specify documentation for JS builtin functions
Reviewed-by: attila
2015-12-30 09:27:19 +05:30