1117 Commits

Author SHA1 Message Date
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
Athijegannathan Sundararajan
9f0dcb1ad6 8146147: Java linker indexed property getter does not work for computed nashorn string
Reviewed-by: jlaskey
2015-12-24 16:52:06 +05:30
Athijegannathan Sundararajan
ddf5ec8ed8 8145669: apply2call optimized callsite fails after becoming megamorphic
Reviewed-by: jlaskey, hannesw
2015-12-17 18:11:09 +05:30
Athijegannathan Sundararajan
fe32b31552 8145630: accidental debug printlns in NativeFunction.java
Reviewed-by: hannesw
2015-12-17 13:40:15 +05:30
Athijegannathan Sundararajan
e760e9cbf3 8145550: Megamorphic invoke should use CompiledFunction variants without any LinkLogic
Reviewed-by: jlaskey, hannesw, attila
2015-12-17 08:31:24 +05:30
Athijegannathan Sundararajan
2cee75db22 8145486: jjs should support documentation key shortcut in interactive mode
Reviewed-by: mhaupt, hannesw
2015-12-16 16:42:03 +05:30
Attila Szegedi
d8b6306e43 8144914: Eagerly lookup browser JS object class in BrowserJSObjectLinker
Reviewed-by: hannesw, sundar
2015-12-14 17:38:56 +01:00
Athijegannathan Sundararajan
c6dbec4bb5 8145314: jjs tab-completion should support camel case completion
Reviewed-by: mhaupt, hannesw
2015-12-14 21:53:47 +05:30
Hannes Wallnöfer
67fe9c8efe 8144020: Remove long as an internal numeric type
Reviewed-by: attila, sundar, lagergren
2015-12-14 14:27:46 +01:00
Michael Haupt
64634dc9a4 8144221: fix Nashorn shebang argument handling on Mac/Linux
Reviewed-by: jlaskey, lagergren
2015-12-14 14:02:59 +01:00
Athijegannathan Sundararajan
772e8d6a04 8145186: jjs package completion should have a fallback when javac is not available
Reviewed-by: hannesw, mhaupt
2015-12-11 20:06:25 +05:30
Athijegannathan Sundararajan
14fc571c54 8144979: Context.fromClass should catch exception from Class.getClassLoader call
Reviewed-by: attila, mhaupt
2015-12-09 16:56:34 +05:30
Lana Steuck
90a60b04c7 Merge 2015-12-02 09:37:26 -08:00
Athijegannathan Sundararajan
4a435bea6c 8144473: Nashorn code assumes NashornCallSiteDescriptor always
Reviewed-by: hannesw, mhaupt
2015-12-02 16:19:15 +05:30
Iris Clark
1ad5b907b1 Merge 2015-11-29 20:30:01 -08:00
Hannes Wallnöfer
9739ad81ee 8144131: ArrayData.getInt implementations do not convert to int32
Reviewed-by: lagergren, sundar
2015-11-27 08:44:02 +01:00
Athijegannathan Sundararajan
67506cb74c 8144160: Regression: two tests fail on Windows with "ant test" target
Reviewed-by: hannesw, mhaupt
2015-11-27 13:41:40 +05:30
Michael Haupt
769f47e66f 8143642: Nashorn shebang argument handling is broken
Reviewed-by: hannesw, sundar
2015-11-26 12:01:41 +01:00
Attila Szegedi
505e5097e6 8141338: Move jdk.internal.dynalink package to jdk.dynalink
Reviewed-by: hannesw, sundar
2015-11-24 10:19:34 +01:00