270 Commits

Author SHA1 Message Date
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
Ahmed Ashour
8be3c2c042 8136349: Typos patch for nashorn sources submitted on Sep 10, 2015
Reviewed-by: hannesw, mhaupt, lagergren, attila
2015-09-11 15:43:36 +05:30
Athijegannathan Sundararajan
65dd9df8c9 8135332: ScriptFunction constructor should use is bound and is strict check rather than checking for 'arguments' and 'caller'
Reviewed-by: attila, hannesw
2015-09-10 19:09:23 +05:30
Attila Szegedi
4206843153 8135337: NativeDebug.dumpCounters with incorrect scope count
Reviewed-by: hannesw, sundar
2015-09-10 15:28:05 +02:00
Attila Szegedi
b43c9b8cda 8135262: Sanitize CodeInstaller API
Reviewed-by: hannesw, sundar
2015-09-10 14:00:27 +02:00
Hannes Wallnöfer
bc7be8c881 8135000: Number.prototype.toFixed returns wrong string for 0.5 and -0.5
Reviewed-by: attila, sundar
2015-09-10 13:46:45 +02:00
Athijegannathan Sundararajan
01de8c1714 8027137: Merge ScriptFunction and ScriptFunctionImpl
Reviewed-by: attila, hannesw, mhaupt
2015-09-09 17:19:46 +05:30
Attila Szegedi
bb5c8037e7 8135075: Reorder short-circuit tests in ApplySpecialization to run cheapest first
Reviewed-by: hannesw, mhaupt, sundar
2015-09-07 11:11:41 +02:00
Michael Haupt
0aac86c3bb Merge 2015-09-03 19:54:06 +02:00
Athijegannathan Sundararajan
70993527ee 8087292: nashorn should have a "fail-fast" option for scripting, analog to bash "set -e"
Reviewed-by: hannesw, jlaskey, mhaupt
2015-09-03 21:47:48 +05:30
Athijegannathan Sundararajan
a81574746d 8134973: Control flow exceptions should avoid filling stack trace
Reviewed-by: attila, jlaskey, hannesw
2015-09-02 22:28:31 +05:30
Attila Szegedi
dcc5af1d2d 8134939: Improve toString method of Dynalink DynamicMethod objects
Reviewed-by: hannesw, sundar
2015-09-02 16:35:14 +02:00
Athijegannathan Sundararajan
e68e98e9e0 8134931: jdk.nashorn.internal.codegen.TypeMap should not use Map
Reviewed-by: attila, mhaupt
2015-09-02 17:16:57 +05:30
Attila Szegedi
106a9bf4b9 8134930: Defer stack trace walking of NashornException for extracting line number and file name
Reviewed-by: hannesw, sundar
2015-09-02 12:26:57 +02:00
Andreas Woess
5176e1dbd7 8134865: Need to restore for container block from lexical context in finally
Reviewed-by: attila, mhaupt
2015-09-01 18:19:29 +02:00
Andreas Woess
2af0ac7441 8134873: Implement support for ES6 numeric literals
Reviewed-by: attila, sundar
2015-09-01 16:11:09 +02:00
Athijegannathan Sundararajan
5c04be3588 8068901: Surprising behavior with more than one functional interface on a class
8068903: Can't invoke vararg @FunctionalInterface methods

Reviewed-by: attila, hannesw
2015-09-01 18:28:11 +05:30
Attila Szegedi
9404b65ba8 8133300: Ensure symbol table immutability in Nashorn AST
Reviewed-by: hannesw, lagergren
2015-08-31 15:18:59 +02:00
Athijegannathan Sundararajan
eb2b5771d2 8134731: Function.prototype.apply interacts incorrectly with arguments
Reviewed-by: attila, hannesw
2015-08-31 17:51:02 +05:30
Attila Szegedi
d883302b01 8134403: Nashorn react.js benchmark performance regression
Reviewed-by: hannesw, sundar
2015-08-26 20:30:34 +02:00
Michael Haupt
089307f286 8134484: disallow backquotes as heredoc end marker delimiters
Reviewed-by: attila, sundar
2015-08-26 13:11:35 +02:00
Michael Haupt
f6fe25800c 8073613: Here documents: how to avoid string interpolation?
Support heredoc end marker quoting like in bash

Reviewed-by: attila, hannesw
2015-08-26 09:59:29 +02:00
Athijegannathan Sundararajan
1734a60ae0 8134397: Features that require AWT, swing should handle headless mode properly
Reviewed-by: hannesw, attila
2015-08-25 18:16:10 +05:30
Athijegannathan Sundararajan
3413347722 8134279: jjs should support multiple line input to complete incomplete code
Reviewed-by: attila, hannesw
2015-08-24 16:25:40 +05:30
Attila Szegedi
373f5906d4 8133785: SharedScopeCall should be enabled for non-optimistic call sites in optimistic compilation
Reviewed-by: hannesw, lagergren
2015-08-24 09:12:35 +02:00
Attila Szegedi
b63af33cd2 8134150: Make Timing both threadsafe and efficient
Reviewed-by: jlaskey, sundar
2015-08-24 09:11:46 +02:00
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
Athijegannathan Sundararajan
656a9f516c 8133872: Expression completion should work on contexts where an expression is accepted
Reviewed-by: hannesw, mhaupt
2015-08-19 16:35:03 +05:30
Michael Haupt
5899d6fbda 8077168: CodeStoreAndPathTest.java fails in jtreg mode on Mac
Use correct path on JRT file system

Reviewed-by: attila, sundar
2015-08-18 09:13:46 -07:00
Athijegannathan Sundararajan
a45bb1ba66 8133652: Implement tab-completion for member select expressions
Reviewed-by: jlaskey, attila
2015-08-17 13:17:25 +05:30
Athijegannathan Sundararajan
d37f9f40c9 8133347: Add makefiles support and basic session, persistence history navigation with jline
Reviewed-by: erikj, jlahoda, jlaskey
2015-08-13 19:07:27 +05:30
Athijegannathan Sundararajan
8d8c82f34e 8133119: Error message associated with TypeError for call and new should include stringified Node
Reviewed-by: attila, mhaupt
2015-08-06 21:50:42 +05:30
Athijegannathan Sundararajan
b2ad94c8e5 8073733: TypeError messages with "call" and "new" could be improved
Reviewed-by: attila, mhaupt
2015-08-04 18:18:54 +05:30
Athijegannathan Sundararajan
d2fdc74755 8132092: Nashorn copyright has to be updated
Reviewed-by: jlaskey, hannesw, mhaupt
2015-07-28 14:52:34 +05:30
Hannes Wallnöfer
ecd527cd70 8131683: Delete fails over multiple scopes
Reviewed-by: mhaupt, sundar
2015-07-22 10:18:33 +02:00
Hannes Wallnöfer
978d434abf 8131340: Varargs function is recompiled each time it is linked
Reviewed-by: mhaupt, sundar
2015-07-20 13:11:26 +02:00
Athijegannathan Sundararajan
2ae906ba4d 8131039: after adding a function property to Object.prototype, JSON.parse with reviver function goes into infinite loop
Reviewed-by: hannesw, mhaupt
2015-07-16 15:45:54 +05:30
Athijegannathan Sundararajan
94c9e33a38 8130853: Non-extensible global is not handled property
Reviewed-by: jlaskey, hannesw
2015-07-13 20:09:14 +05:30
Ahmed Ashour
e834520e7e 8130888: Typos in nashorn sources
Reviewed-by: hannesw, mhaupt
2015-07-10 12:55:10 +05:30
Athijegannathan Sundararajan
4a2aab156b 8130734: Apply transformations found by netbeans Refactor->Inspect and transform menu
Reviewed-by: hannesw, jlaskey, mhaupt
2015-07-08 17:28:08 +05:30
Athijegannathan Sundararajan
39ea286002 8130663: 6 fields can be static fields in Global class
Reviewed-by: hannesw, attila
2015-07-07 18:33:24 +05:30
Athijegannathan Sundararajan
94d29a19c8 8130476: Remove unused methods in Global.java
Reviewed-by: hannesw, attila
2015-07-06 15:59:55 +05:30
Athijegannathan Sundararajan
833d238585 8130424: if directory specified with --dest-dir does not exist, only .class files are dumped and .js files are not
Reviewed-by: attila, lagergren, hannesw
2015-07-03 18:41:58 +05:30
Athijegannathan Sundararajan
fb6a41f23a 8130317: "ant test" fails to complete on Windows when run under cygwin shell
Reviewed-by: lagergren, attila
2015-07-02 19:02:28 +05:30
Attila Szegedi
2a2f2f3300 8130234: Get rid of JSType.isNegativeZero
Reviewed-by: hannesw, lagergren
2015-07-02 10:55:35 +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
Attila Szegedi
c277f9d37c 8129959: DebugLogger has unnecessary API methods
Reviewed-by: hannesw, lagergren
2015-06-26 17:49:17 +02:00
Attila Szegedi
6069477207 8129950: Wrong condition for checking absence of logger in MethodHandleFactory
Reviewed-by: hannesw, lagergren
2015-06-26 17:08:14 +02:00
Attila Szegedi
bafa097ac7 8129410: Java adapters with class-level overrides should preserve variable arity constructors
Reviewed-by: lagergren, sundar
2015-06-23 11:16:48 +02:00