Commit Graph

1490 Commits

Author SHA1 Message Date
Lana Steuck
a1a90a7368 Added tag jdk9-b86 for changeset e5955eb2b3e0 2015-10-15 15:15:29 -07:00
Attila Szegedi
d546e9e360 8139282: Remove @author and @id tags from Dynalink JavaDoc; some minor edits
Reviewed-by: mhaupt, sundar
2015-10-12 14:52:47 +02:00
Attila Szegedi
89fa209a47 8139270: Drastically reduce memory footprint of ChainedCallSite
Reviewed-by: hannesw, sundar
2015-10-12 13:44:38 +02:00
Michael Haupt
53051d4e34 8139266: add JSAdapter example with fallthrough
Reviewed-by: attila, hannesw
2015-10-12 13:36:41 +02:00
Attila Szegedi
5dd8a5bcfe 8139274: Use JDK 8 default method for LinkerServices.asTypeLosslessReturn
Reviewed-by: lagergren, sundar
2015-10-12 10:28:27 +02:00
Attila Szegedi
26f00c8261 8139273: Small improvements to DynamicLinker and DynamicLinkerFactory
Reviewed-by: lagergren, sundar
2015-10-12 10:27:32 +02:00
Lana Steuck
81c8c10d73 Merge 2015-10-09 10:22:19 -07:00
Attila Szegedi
ea36ed2bc8 8139269: Do not expose prune method handles from ChainedCallSite
Reviewed-by: hannesw, lagergren
2015-10-09 18:01:09 +02:00
Lana Steuck
6524be4aac Added tag jdk9-b85 for changeset beda7a94a5ef 2015-10-08 22:30:47 -07:00
Michael Haupt
f932f4f869 8139047: add test for JSAdapter __getIds__
Reviewed-by: hannesw, sundar
2015-10-07 15:02:15 +02:00
Michael Haupt
0b4df44eb8 8139038: cleanup and documentation around JSAdapter
Reviewed-by: attila, hannesw
2015-10-07 14:00:45 +02:00
Lana Steuck
9fa684a2f4 Merge 2015-10-06 08:42:02 -07:00
Hannes Wallnöfer
4b93e3631d 8138758: U+180E not recognized as whitespace by Joni
Reviewed-by: attila, sundar
2015-10-06 15:10:24 +02:00
Athijegannathan Sundararajan
3a39ddb5fd 8138910: Ctrl-D causes jjs to crash with NPE
Reviewed-by: attila, hannesw
2015-10-06 14:31:38 +05:30
Lana Steuck
77701f53b3 Added tag jdk9-b84 for changeset c55cf68474be 2015-10-05 20:25:09 -07:00
Hannes Wallnöfer
26fc600426 8138882: Performance regression due to anonymous classloading
Reviewed-by: attila, sundar
2015-10-05 18:58:21 +02:00
Hannes Wallnöfer
c1fa6e31e8 8137281: OutOfMemoryError with large numeric keys in JSON.parse
Reviewed-by: attila, mhaupt
2015-10-02 15:50:49 +02:00
Athijegannathan Sundararajan
a7d931c5e1 8138616: invokeFunction fails if function calls a function defined in GLOBAL_SCOPE
Reviewed-by: hannesw, mhaupt
2015-10-01 21:27:30 +05:30
Hannes Wallnöfer
8b9c730750 8138632: Sparse array does not handle growth of underlying dense array
Reviewed-by: attila, sundar
2015-10-01 10:37:25 +02:00
Athijegannathan Sundararajan
2b4de2f271 8138643: nashorn ant build.xml javadoc, javadocapi targets are broken and netbeans makefile does not include shell sources
Reviewed-by: attila, hannesw
2015-09-30 20:20:11 +05:30
Attila Szegedi
f3ff9a5c9a 8137333: Boundless soft caching of property map histories causes high memory pressure
Reviewed-by: hannesw, sundar
2015-09-30 10:09:44 +02:00
Athijegannathan Sundararajan
be533e6f12 8137258: JSObjectLinker and BrowserJSObjectLinker should not expose internal JS objects
Reviewed-by: attila, hannesw
2015-09-28 18:58:52 +05:30
Attila Szegedi
b6c3667ca0 8134502: introduce abstraction for basic NodeVisitor usage
Reviewed-by: lagergren, sundar
2015-09-28 08:40:39 +02:00
Lana Steuck
158b238b20 Merge 2015-09-26 09:22:18 -07:00
Lana Steuck
498d835505 Added tag jdk9-b83 for changeset 4bd8ea2059a1 2015-09-25 22:59:35 -07:00
Attila Szegedi
54f2d18d65 8134488: var statement in if(false) block incorrectly evacuated into enclosing function
Reviewed-by: hannesw, sundar
2015-09-25 17:53:06 +02:00
Attila Szegedi
5115da4b82 8136700: Make sure Context.anonymousHostClasses doesn't grow unbounded
Reviewed-by: hannesw, sundar
2015-09-25 15:57:57 +02:00
Attila Szegedi
f231e5ab06 8134490: Dead var statement evacuation incorrectly descends into nested functions
Reviewed-by: hannesw, mhaupt
2015-09-25 12:46:53 +02:00
Athijegannathan Sundararajan
1a8570ad75 8137134: invokespecial on indirect super interface is generated by Java adapter generator
Reviewed-by: attila, hannesw
2015-09-25 16:01:54 +05:30
Athijegannathan Sundararajan
ef8d5d8323 8136894: test/script/currently-failing/gettersetter.js passes, move it out of currently-failing tests
Reviewed-by: hannesw, mhaupt
2015-09-22 14:00:54 +05:30
Athijegannathan Sundararajan
e8aef5c7c8 8136832: property_delete.js tests be moved out from currently-failing
Reviewed-by: attila, lagergren, hannesw
2015-09-22 12:57:15 +05:30
Hannes Wallnöfer
008b5c0ad9 8135190: Method code too large in Babel browser.js script
Reviewed-by: attila, sundar
2015-09-19 16:04:28 +02:00
Lana Steuck
23f35b163b Merge 2015-09-18 14:21:22 -07:00
Lana Steuck
7ccace98c4 Added tag jdk9-b82 for changeset a86fb74acc8d 2015-09-18 10:46:55 -07:00
Athijegannathan Sundararajan
c2898271c9 8136694: Megemorphic scope access does not throw ReferenceError when property is missing
Reviewed-by: attila, hannesw
2015-09-17 18:23:53 +05:30
Attila Szegedi
f74c628ffe 8136647: Syntactic error accidentally left in JDK-8135251 changeset
Reviewed-by: sundar
2015-09-16 18:44:47 +02:00
Attila Szegedi
7d849fd622 8135251: Use Unsafe.defineAnonymousClass for loading Nashorn script code
Reviewed-by: hannesw, lagergren, sundar
2015-09-16 18:34:10 +02:00
Hannes Wallnöfer
f4e6cd073f 8134609: Allow constructors with same prototoype map to share the allocator map
Reviewed-by: attila, sundar
2015-09-16 14:42:32 +02:00
Athijegannathan Sundararajan
1b10b826d8 8136544: Call site switching to megamorphic causes incorrect property read
Reviewed-by: attila, mhaupt
2015-09-16 16:26:30 +05:30
Athijegannathan Sundararajan
9698127af3 8080501: javaarrayconversion.js test is flawed
Reviewed-by: attila, hannesw
2015-09-15 19:31:24 +05:30
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
Lana Steuck
fef5b70b3f Merge 2015-09-11 12:59:54 -07:00
Lana Steuck
92865eb607 Added tag jdk9-b81 for changeset a62e4c149f6f 2015-09-11 10:26:42 -07:00
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
0ec14b759a 8135336: Fix broken build after JDK-8135262
Reviewed-by: hannesw, sundar
2015-09-10 15:24:39 +02:00
Attila Szegedi
b43c9b8cda 8135262: Sanitize CodeInstaller API
Reviewed-by: hannesw, sundar
2015-09-10 14:00:27 +02:00
Hannes Wallnöfer
14a6271417 8134569: Add tests for prototype callsites
Reviewed-by: attila, sundar
2015-09-10 13:50:04 +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
Magnus Ihse Bursie
16142c17e4 8065912: Better handling of classpath in build-infra
Reviewed-by: erikj
2015-09-09 09:36:48 +02:00
Athijegannathan Sundararajan
43250a33e1 8135151: jjs should work in cygwin environment
Reviewed-by: attila, hannesw
2015-09-07 20:07:03 +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
Athijegannathan Sundararajan
cb025d0a9a 8135054: Add more samples to nashorn samples directory
Reviewed-by: mhaupt, hannesw
2015-09-04 17:11:06 +05:30
Lana Steuck
21ad3ccd0d Merge 2015-09-03 16:14:47 -07:00
David Katleman
32b3bd0b28 Added tag jdk9-b80 for changeset 68c59ce3ed28 2015-09-03 14:24:47 -07: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
Athijegannathan Sundararajan
b803598d6a 8134887: nashorn ant test configuration should disable assertion for LamdaFormEditor class
Reviewed-by: attila, jlaskey
2015-09-01 23:08:33 +05:30
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
Lana Steuck
559fdad1c4 Merge 2015-08-27 13:22:30 -07:00
David Katleman
72df63345b Added tag jdk9-b79 for changeset ffea646fc05f 2015-08-27 12:59:56 -07:00
Athijegannathan Sundararajan
35b2990d38 8134562: jjs history object should have methods to save/load history to/from given file and also allow reexecution of commands by a call
Reviewed-by: hannesw, attila
2015-08-27 14:35:06 +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
a4e75d9f12 8134381: load completion should not use swing from non UI thread
Reviewed-by: lagergren, attila, hannesw
2015-08-25 14:47:42 +05:30
Athijegannathan Sundararajan
0d8920ff4c 8134309: load call argument completion could be done with file chooser
Reviewed-by: attila, hannesw
2015-08-24 18:25:22 +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
321ce034fc 8133948: Add 'edit' function to allow external editing of scripts
Reviewed-by: attila, hannesw, jlahoda
2015-08-21 18:01:23 +05:30
Lana Steuck
ab56f671d3 Merge 2015-08-20 12:29:58 -07:00
David Katleman
08765a5540 Added tag jdk9-b78 for changeset 23662c20a442 2015-08-20 11:38:25 -07:00
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
19a69d8cbf 8133812: identifier and member expression completion handling is not uniform
Reviewed-by: attila, hannesw
2015-08-18 18:53:13 +05:30
Athijegannathan Sundararajan
65c7459351 8133777: Use file based persistence for history instead of preferences
Reviewed-by: attila, mhaupt
2015-08-18 11:40:18 +05:30
Athijegannathan Sundararajan
a8ae0d78d8 8133695: Implement tab-completion for identifiers
Reviewed-by: attila, jlaskey
2015-08-17 18:36:28 +05:30
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
67e6d1bad0 8133624: Move JDK-8055034.js and JDK-8130127.js to currently-failing directory to exclude from test run
Reviewed-by: jlaskey, hannesw
2015-08-14 18:48:26 +05:30
Lana Steuck
4ac0a00b1f Merge 2015-08-13 14:15:11 -07:00
David Katleman
5d7b720b02 Added tag jdk9-b77 for changeset 5bf57225d6fc 2015-08-13 12:20:11 -07:00
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
Lana Steuck
19aedf6823 Merge 2015-08-06 11:20:39 -07:00
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
David Katleman
45eac19019 Added tag jdk9-b76 for changeset c9b05353a293 2015-08-06 08:07:42 -07:00
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
Lana Steuck
131fe13d63 Merge 2015-07-30 15:22:40 -07:00