Commit Graph

52 Commits

Author SHA1 Message Date
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
Athijegannathan Sundararajan
0f137a3deb 8160141: removed deprecated method calls in nashorn code
Reviewed-by: mhaupt, hannesw
2016-06-23 12:39:33 +05:30
Athijegannathan Sundararajan
6e67698c30 8157789: Nashorn sample/test.js should not use undocumented System property
Reviewed-by: mchung
2016-05-25 11:03:08 +05:30
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
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
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
Athijegannathan Sundararajan
dbcaf8cb02 8144841: Add a sample for pluggable dynalink linker for stream property on arrays and a REAMDE for linker samples
Reviewed-by: mhaupt, attila
2015-12-08 17:16:10 +05:30
Athijegannathan Sundararajan
11d29f7c6c 8144519: Add a sample for pluggable dynalink linker that demonstrats beans linker delegation
Reviewed-by: mhaupt, jlaskey
2015-12-03 19:04:39 +05:30
Athijegannathan Sundararajan
4a435bea6c 8144473: Nashorn code assumes NashornCallSiteDescriptor always
Reviewed-by: hannesw, mhaupt
2015-12-02 16:19:15 +05:30
Athijegannathan Sundararajan
ef01e1525e 8144230: Add a sample for pluggable dynalink linker
Reviewed-by: hannesw, mhaupt
2015-11-30 18:16:47 +05:30
Athijegannathan Sundararajan
67d3d94345 8144186: Update Main.asm sample to use dynalink public API
Reviewed-by: hannesw, mhaupt
2015-11-27 18:28:16 +05:30
Athijegannathan Sundararajan
5532631558 8141285: NameCode should pass tests from BytecodeNameTest.java
Reviewed-by: attila, mhaupt
2015-11-03 21:08:53 +05:30
Michael Haupt
53051d4e34 8139266: add JSAdapter example with fallthrough
Reviewed-by: attila, hannesw
2015-10-12 13:36:41 +02:00
Athijegannathan Sundararajan
cf428a3931 8055917: jdk.nashorn.internal.codegen.CompilationPhase$N should be renamed to proper classes
Reviewed-by: attila, hannesw
2015-09-14 16:13:10 +05:30
Athijegannathan Sundararajan
cb025d0a9a 8135054: Add more samples to nashorn samples directory
Reviewed-by: mhaupt, hannesw
2015-09-04 17:11:06 +05:30
Athijegannathan Sundararajan
4470a2eefa 8134255: Implement tab-completion for java package prefixes and package names
Reviewed-by: attila, mhaupt
2015-08-23 10:02:14 +05:30
Michael Haupt
f123b5dde0 8132305: fix incorrect title assignment in Nashorn JavaFX samples
Reviewed-by: attila, sundar
2015-07-27 09:42:09 +02:00
Michael Haupt
eacc58bf85 8130127: streamline input parameter of Nashorn scripting $EXEC function
Handle null and undefined correctly, do not coerce them to strings

Reviewed-by: lagergren, sundar
2015-07-01 16:26:25 +02:00
Athijegannathan Sundararajan
d9a4c01c25 8114838: Anonymous functions escape to surrounding scope when defined under "with" statement
Reviewed-by: attila, hannesw, lagergren
2015-06-30 13:10:37 +05:30
Hannes Wallnöfer
21c3399f5e 8086052: Script evaluation should not return last function declaration
Reviewed-by: sundar, attila
2015-06-15 15:37:01 +02:00
Athijegannathan Sundararajan
f3198a6632 8087136: regression: apply on $EXEC fails with ClassCastException
Reviewed-by: hannesw, lagergren
2015-06-11 13:33:34 +05:30
Michael Haupt
0f1bfba6c9 8080490: add $EXECV command to Nashorn scripting mode
Additional arguments to the command line can be passed as a single array, or as a sequence of varargs.

Reviewed-by: attila, hannesw
2015-06-09 09:27:02 +02:00
Athijegannathan Sundararajan
f5e449156c 8086032: Add compiler error tests when syntax extensions are used with --no-syntax-extensions option
Reviewed-by: attila, hannesw
2015-06-09 14:19:57 +05:30
Athijegannathan Sundararajan
31d1f45723 8085937: add autoimports sample script to easily explore Java classes in interactive mode
Reviewed-by: lagergren, attila
2015-06-08 14:10:39 +05:30
Athijegannathan Sundararajan
105784b853 8081809: Missing final modifier in method parameters (nashorn code convention)
Reviewed-by: attila, hannesw
2015-06-03 18:44:12 +05:30
Athijegannathan Sundararajan
8777094b4f 8080848: delete of bound Java method property results in crash
Reviewed-by: hannesw, lagergren
2015-05-21 18:44:51 +05:30
Athijegannathan Sundararajan
7945c7b276 8080598: Javadoc warnings in Global.java after lazy initialization
Reviewed-by: lagergren, hannesw
2015-05-20 14:16:19 +05:30
Athijegannathan Sundararajan
dbbb8bf78e 8078174: Add few FX and parser API samples for nashorn
Reviewed-by: hannesw, lagergren
2015-04-20 19:41:44 +05:30
Athijegannathan Sundararajan
5feb701fc3 8006996: Add a pretty printer that prints script source in nice form
Reviewed-by: lagergren, hannesw
2015-03-19 15:13:01 +05:30
Athijegannathan Sundararajan
cf37646b3f 8075207: Nashorn parser API returns StatementTree objects in out of order
Reviewed-by: lagergren, forax, hannesw
2015-03-16 17:01:47 +05:30
Athijegannathan Sundararajan
e383c777af 8074939: Add few sample scripts to demo nashorn parser API
Reviewed-by: attila, hannesw
2015-03-11 14:30:40 +05:30
Athijegannathan Sundararajan
0ed9eb856c 8074671: Nashorn Parser API
Reviewed-by: darcy, forax, attila, hannesw
2015-03-09 20:14:10 +05:30
Athijegannathan Sundararajan
ffd434caa1 8074021: Indirect eval fails when used as an element of an array or as a property of an object
Reviewed-by: attila, hannesw
2015-02-27 18:03:18 +05:30
Attila Szegedi
8d084dc298 8072596: Arrays.asList results in ClassCastException with a JS array
Reviewed-by: lagergren, sundar
2015-02-12 16:43:33 +01:00
Athijegannathan Sundararajan
2f101d122b 8071989: NashornScriptEngine returns javax.script.ScriptContext instance with insonsistent get/remove methods behavior for undefined attributes
Reviewed-by: attila, lagergren
2015-02-06 19:28:26 +05:30
Athijegannathan Sundararajan
2d266be7f6 8072595: nashorn should not use obj.getClass() for null checks
Reviewed-by: hannesw, attila
2015-02-05 19:08:00 +05:30
Athijegannathan Sundararajan
dc2d8b7e11 8068524: NashornScriptEngineFactory.getParameter() throws IAE for an unknown key, doesn't conform to the general spec
Reviewed-by: hannesw, attila
2015-01-07 14:02:30 +05:30
Athijegannathan Sundararajan
f73717b021 8067636: ant javadoc target is broken
Reviewed-by: hannesw, lagergren
2014-12-16 14:06:32 +05:30
Athijegannathan Sundararajan
05bf0c5a45 8067420: BrowserJSObjectLinker should give priority to beans linker for property get/set
Reviewed-by: lagergren, attila, hannesw
2014-12-15 16:30:45 +05:30
Athijegannathan Sundararajan
34673eaf92 8067136: BrowserJSObjectLinker does not handle call on JSObjects
Reviewed-by: attila, hannesw, lagergren
2014-12-10 19:42:01 +05:30
Marcus Lagergren
3d2c518ad8 8059211: Changed ArrayData.length accessor to use the protected field and fixed javadoc warnings related to this
Reviewed-by: attila, hannesw
2014-09-26 18:47:20 +02:00
Marcus Lagergren
da0b4cb7df 8025435: Optimistic builtins support, implemented initial optimistic versions of push, pop, and charCodeAt
Reviewed-by: attila, hannesw, sundar
2014-09-25 15:53:47 +02:00
Athijegannathan Sundararajan
eadc8dbe75 8055687: Wrong "this" passed to JSObject.eval call
Reviewed-by: lagergren, hannesw, attila
2014-08-20 21:32:09 +05:30
Athijegannathan Sundararajan
fa78f33af1 8055395: Nashorn should use source, target to be 1.8 and use ASM5 version for generated code
Reviewed-by: attila, lagergren, jlaskey
2014-08-19 18:14:45 +05:30
Attila Szegedi
9227b18d8a 8055199: Tidy up Nashorn codebase for code standards (August 2014)
Reviewed-by: hannesw, lagergren
2014-08-15 17:30:49 +02:00
Athijegannathan Sundararajan
35c5f0ad5d 8051346: Test262 tests for ECMAScript 5 now in branch "es5-tests"
Reviewed-by: attila, hannesw
2014-08-07 19:19:46 +05:30
Athijegannathan Sundararajan
4323d2ade5 8050964: OptimisticTypesPersistence.java should use java.util.Date instead of java.sql.Date
Reviewed-by: jlaskey
2014-07-17 16:47:06 +05:30
Athijegannathan Sundararajan
07b40bb298 8044415: ant makefile should have a target to generate javadoc only for jdk.nashorn.api and sub-packages
Reviewed-by: jlaskey
2014-05-30 17:22:38 +05:30
Athijegannathan Sundararajan
f7e89ae474 8042600: Add more samples in nashorn/samples directory
Reviewed-by: jlaskey, hannesw
2014-05-07 20:20:58 +05:30
James Laskey
11462f8b0e 8016453: loadWithNewGlobal does not allow apply operation
Reviewed-by: hannesw, sundar
2013-06-12 11:22:06 -03:00