Commit Graph

1061 Commits

Author SHA1 Message Date
Hannes Wallnöfer
43e27faa9f 8160435: Source.baseURL is slow for URLs with unregistered protocol
Reviewed-by: sundar
2016-06-28 15:17:51 +02:00
Hannes Wallnöfer
4f3b48809e 8073653: Secondary heredoc eating wrong lines
Reviewed-by: mhaupt, jlaskey
2016-06-24 14:46:45 +02:00
Hannes Wallnöfer
939f1f7308 8137240: Negative lookahead in RegEx breaks backreference
Reviewed-by: mhaupt
2016-06-24 12:39:42 +02:00
Athijegannathan Sundararajan
0f137a3deb 8160141: removed deprecated method calls in nashorn code
Reviewed-by: mhaupt, hannesw
2016-06-23 12:39:33 +05:30
Hannes Wallnöfer
d172b7b70b 8159977: typeof operator does not see lexical bindings declared in other scripts
Reviewed-by: sundar
2016-06-22 16:30:41 +02:00
Hannes Wallnöfer
1f71896acb 8156614: Lazy parsing of ES6 shorthand method syntax is broken
Reviewed-by: sundar, mhaupt
2016-06-20 12:21:51 +02:00
Hannes Wallnöfer
acd4bf8777 8150219: ReferenceError in 1.8.0_72
Reviewed-by: attila, sundar
2016-06-20 11:44:29 +02:00
Srinivas Dama
e1026a3b8d 8158817: add documentation for NativeMath
Reviewed-by: mhaupt, hannesw
2016-06-15 14:18:22 +02:00
Hannes Wallnöfer
cace72a5ad 8159220: Preserve position info in module import and export entries
Reviewed-by: sundar, lagergren
2016-06-13 12:39:28 +02:00
Athijegannathan Sundararajan
8857f65a03 8159034: 4 nashorn ant tests fail with latest jdk9-dev build with IncompatibleClassChangeError
Reviewed-by: hannesw, jlaskey
2016-06-08 20:35:23 +05:30
Hannes Wallnöfer
54ec7c6b21 8159031: jjs throws NoSuchFileException if ~/.jjs.history does not exist
Reviewed-by: sundar, mhaupt
2016-06-08 15:53:22 +02:00
Athijegannathan Sundararajan
5a190a8ec6 8158922: jjs tab completion of Java classes shows package-private, "hidden" classes too
Reviewed-by: hannesw, mhaupt
2016-06-07 19:13:26 +05:30
Athijegannathan Sundararajan
08ab0a1ff6 8158736: Adapter class loaders can avoid creating named dynamic modules
Reviewed-by: hannesw, mhaupt
2016-06-06 18:45:47 +05:30
Athijegannathan Sundararajan
2c1f125385 8158467: AccessControlException is thrown on public Java class access if "script app loader" is set to null
Reviewed-by: mhaupt, hannesw
2016-06-02 14:56:20 +05:30
Athijegannathan Sundararajan
3c9941bd80 8158338: Nashorn's ScriptLoader split delegation has to be adjusted
Reviewed-by: lagergren, hannesw
2016-06-01 15:17:37 +05:30
Athijegannathan Sundararajan
5f49606225 8158250: nashorn ant javadoc targets are broken
Reviewed-by: hannesw, mhaupt
2016-05-31 21:12:34 +05:30
Athijegannathan Sundararajan
4489e7f18c 8158131: Nashorn should not use jdk.internal.module.Modules API
Reviewed-by: hannesw, mhaupt, alanb
2016-05-31 13:04:26 +05:30
Athijegannathan Sundararajan
1f0c44c1c4 8157819: TypeError when a java.util.Comparator object is invoked as a function
Reviewed-by: mhaupt, forax, hannesw
2016-05-25 19:25:57 +05:30
Athijegannathan Sundararajan
883dc41e42 8157680: Callback parameter of any JS builtin implementation should accept any Callable
Reviewed-by: hannesw, mhaupt
2016-05-25 15:14:37 +05:30
Jan Lahoda
390c90f8de 8131017: jshell tool: pasting code with tabs invokes tab completion
Enabling copy-paste detection.

Reviewed-by: lagergren, sundar
2016-05-24 16:03:48 +02:00
Athijegannathan Sundararajan
c81faa1b04 8157310: jdk.dynalink.linker.support.Lookup should have more checks before adding module read link
Reviewed-by: hannesw, attila
2016-05-20 13:20:10 +05:30
Jan Lahoda
0e4ffbab48 8133549: Generalize jshell's EditingHistory
Using a generic EditingHistory in jjs

Reviewed-by: sundar
2016-05-18 21:00:22 +02:00
Michael Haupt
4ad196ec4f 8157250: BeanLinker assumes fixed array type linkage
Reviewed-by: attila, sundar
2016-05-18 17:37:34 +02:00
Athijegannathan Sundararajan
dfcb34c132 8157241: Remove javac warnings of Nashorn "ant clean test"
Reviewed-by: mhaupt, hannesw
2016-05-18 20:17:48 +05:30
Michael Haupt
cdba885c27 8157225: adopt method handle for array length getter in BeanLinker
Reviewed-by: hannesw, sundar
2016-05-18 12:07:54 +02:00
Athijegannathan Sundararajan
2479973df8 8157160: JSON.stringify does not work on ScriptObjectMirror objects
Reviewed-by: hannesw, mhaupt
2016-05-18 14:08:38 +05:30
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