1085 Commits

Author SHA1 Message Date
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
Athijegannathan Sundararajan
5cb4f9c787 8167018: Nashorn and jjs should support --module-path and --add-modules options
Reviewed-by: jlaskey, hannesw
2016-10-07 21:28:20 +05:30
Andreas Woess
e29b338cd7 8167289: Backport ES6 updates from Graal.js
Reviewed-by: lagergren, sundar
2016-10-07 10:30:14 +02:00
Attila Szegedi
c86ac94029 8167117: insert missing final keywords
Reviewed-by: jlaskey, sundar
2016-10-06 16:27:47 +02:00
Attila Szegedi
13b1a55ffa 8167037: Remove CALL_METHOD support from internal Nashorn linkers
Reviewed-by: hannesw, sundar
2016-10-04 13:23:10 +02:00
Hannes Wallnöfer
70e402c190 8166902: Nested object literal property maps not reset in optimistic recompilation
Reviewed-by: lagergren, attila
2016-09-30 19:40:31 +02:00
Hannes Wallnöfer
414dc12887 8164467: ES6 computed properties are implemented wrongly
Reviewed-by: sundar, lagergren
2016-09-26 13:27:45 +02:00
Srinivas Dama
a68f80b645 8166296: add documentation for Date,RegExp,Error,JSON objects
Reviewed-by: mhaupt, sundar
2016-09-20 11:33:03 +02:00
Hannes Wallnöfer
2df77e13ce 8077149: __noSuchProperty__ and __noSuchMethod__ invocations are not properly guarded
Reviewed-by: jlaskey, mhaupt
2016-09-07 22:48:02 +02:00
Athijegannathan Sundararajan
87f1cd1d73 8164748: Edit pad crashes when calling function
Reviewed-by: jlaskey
2016-08-25 22:23:59 +05:30
Srinivas Dama
200608b4c0 8164618: add documentation for NativeNumber and NativeBoolean
Reviewed-by: sundar
2016-08-24 14:02:41 +05:30
Athijegannathan Sundararajan
a225cebefc 8164260: readLine does not echo characters
Reviewed-by: jlaskey
2016-08-18 16:54:27 +05:30
Hannes Wallnöfer
8e560dc22e 8163945: Honor Number type hint in toPrimitive on Numbers
Reviewed-by: jlaskey, mhaupt
2016-08-16 15:04:51 +02:00
Srinivas Dama
54130ef8d3 8134304: NPE in initialization of OptimisticTypesPersistence
Reviewed-by: hannesw, jlaskey, mhaupt
2016-08-10 09:21:58 -07:00
Hannes Wallnöfer
08076a7b14 8162955: Activate anonymous class loading for small sources
Reviewed-by: sundar
2016-08-08 12:51:44 +02:00
Hannes Wallnöfer
e753c8edeb 8162771: Strict equality operators should not be optimistic
Reviewed-by: jlaskey, sundar
2016-08-02 12:39:25 +02:00
Hannes Wallnöfer
baad0ee85d 8160034: The this value in the with is broken by the repetition of a function call
Reviewed-by: attila, sundar
2016-07-28 16:27:00 +02:00
Srinivas Dama
2faec59457 8160801: add documentation for NativeString
Reviewed-by: mhaupt
2016-07-27 15:53:41 +02:00
Hannes Wallnöfer
ffab346e43 8068972: Array.splice should follow the ES6 specification
Reviewed-by: mhaupt, jlaskey
2016-07-26 15:56:35 +02:00
Attila Szegedi
6feda5c50f 8161930: Cleanup ScriptObject warnings
Reviewed-by: hannesw, sundar
2016-07-25 11:03:27 +02:00
Attila Szegedi
1fa516e4cc 8161929: FindProperty.isInherited never used standalone
Reviewed-by: hannesw, sundar
2016-07-25 11:03:01 +02:00
Attila Szegedi
66aefdf36e 8161928: Dynalink documentation updates
Reviewed-by: hannesw, sundar
2016-07-25 10:58:58 +02:00
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
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