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
Iris Clark
01fd27437c
Merge
2015-10-05 20:56:06 -07:00
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
Iris Clark
350f1c7a89
Merge
2015-09-29 11:46:43 -07: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
Iris Clark
d0517a6125
Merge
2015-09-21 20:09:05 -07:00
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
Iris Clark
ac495a6615
Merge
2015-09-14 09:47:28 -07: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
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
Iris Clark
32f958db97
Merge
2015-09-08 10:25:22 -07: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
Iris Clark
376d2e4643
Merge
2015-08-31 13:57:46 -07:00
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
Iris Clark
5301d26583
Merge
2015-08-25 14:45:32 -07: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
Iris Clark
9d2ded88c7
Merge
2015-08-17 13:03:00 -07:00
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
Iris Clark
82c82d7b92
Merge
2015-08-03 09:26:31 -07:00
Lana Steuck
131fe13d63
Merge
2015-07-30 15:22:40 -07:00
David Katleman
147432697b
Added tag jdk9-b75 for changeset 1e145ba49d48
2015-07-30 11:15:42 -07:00
Athijegannathan Sundararajan
d2fdc74755
8132092: Nashorn copyright has to be updated
...
Reviewed-by: jlaskey, hannesw, mhaupt
2015-07-28 14:52:34 +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
Lana Steuck
2f7dd1981b
Merge
2015-07-23 15:28:32 -07:00
Iris Clark
affc98a1f8
Merge
2015-07-23 13:20:44 -07:00
David Katleman
6c92ef20e6
Added tag jdk9-b74 for changeset 1889ccd678ae
2015-07-23 11:54:34 -07:00
Michael Haupt
e0ae5e6391
8131142: late-bind check for testng.jar presence in Nashorn test execution
...
Reviewed-by: hannesw, sundar
2015-07-22 09:28:28 +02:00
Hannes Wallnöfer
ecd527cd70
8131683: Delete fails over multiple scopes
...
Reviewed-by: mhaupt, sundar
2015-07-22 10:18:33 +02:00
Iris Clark
69f99c4534
Merge
2015-07-20 11:02:24 -07: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
Lana Steuck
600a087671
Merge
2015-07-16 19:30:19 -07:00
David Katleman
2f1e97b942
Added tag jdk9-b73 for changeset 619db21ffc79
2015-07-16 13:51:58 -07: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
Iris Clark
7671e1df26
Merge
2015-07-13 13:24:17 -07:00
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
Michael Haupt
6ec4c73462
8130862: let hg ignore TestNG ZIP file in Nashorn test library directory
...
Reviewed-by: hannesw, sundar
2015-07-10 08:42:35 +02:00
Lana Steuck
4cc413c0d8
Merge
2015-07-09 16:38:22 -07:00
David Katleman
da2c7d7fc6
Added tag jdk9-b72 for changeset 93250cfbfa54
2015-07-09 13:49:41 -07:00
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
Iris Clark
fff6ab17fb
Merge
2015-07-06 11:49:41 -07:00
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
Lana Steuck
9c03c2bfff
Merge
2015-07-02 16:09:43 -07:00
David Katleman
c690ca7cd9
Added tag jdk9-b71 for changeset 84ecc1a708df
2015-07-02 08:54:05 -07:00
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
Michael Haupt
ff5c2fa53d
8130307: improve Nashorn Javadoc target
...
Reduce dependence on ASM sources in testing, address command line length problem on Windows
Reviewed-by: hannesw, sundar
2015-07-02 11:20:47 +02:00
Michael Haupt
6980a8e4cc
8130306: enable running Nashorn test on Windows
...
Fix executable name (add .exe suffix)
Reviewed-by: hannesw, sundar
2015-07-02 11:09:20 +02:00
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
Phil Race
891fa406cd
Merge
2015-06-30 08:51:06 -07: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
Iris Clark
1c4c6cb496
Merge
2015-06-29 11:28:31 -07:00
Attila Szegedi
74b5de9db2
8130035: Move test/script/basic/NASHORN-627.js to currently-failing until JDK-8129881 is fixed
...
Reviewed-by: lagergren, sundar
2015-06-29 10:42:57 +02:00
Lana Steuck
66423c6b33
Merge
2015-06-28 16:38:44 -07:00
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
David Katleman
46cb74729a
Added tag jdk9-b70 for changeset 271525e41254
2015-06-25 10:21:42 -07:00
Joe Darcy
35d84fe429
8129597: Add tier 3 test definitions to the JDK 9 forest
...
Reviewed-by: smarks, jjg
2015-06-24 15:19:50 -07: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
Phil Race
452e61825c
Merge
2015-06-22 13:29:27 -07:00
Lana Steuck
c9e37d0dcb
Merge
2015-06-18 10:24:14 -07:00
Athijegannathan Sundararajan
39366de6a7
8117883: nasgen prototype, instance member count calculation is wrong
...
Reviewed-by: hannesw, lagergren
2015-06-18 19:20:53 +05:30
Lana Steuck
bcd100fae5
Added tag jdk9-b69 for changeset b15ed6c5dedd
2015-06-18 01:43:18 -07:00
Hannes Wallnöfer
18c25f6f9f
8098808: Convert Scope from interface to class
...
Reviewed-by: sundar, attila
2015-06-17 13:56:53 +02:00
Athijegannathan Sundararajan
55f2b58bad
8098847: obj."prop" and obj.'prop' should result in SyntaxError
...
Reviewed-by: hannesw, attila
2015-06-17 14:21:20 +05:30
Hannes Wallnöfer
28f8652430
8087312: PropertyMapWrapper.equals should compare className
...
Reviewed-by: sundar, attila
2015-06-17 09:10:45 +02:00
Athijegannathan Sundararajan
2ea5c82229
8098578: Global scope is not accessible with indirect load call
...
Reviewed-by: attila, hannesw
2015-06-16 18:26:25 +05:30
Hannes Wallnöfer
e87ce70fa1
8098807: Strict eval throws ClassCastException with large scripts
...
Reviewed-by: sundar, attila
2015-06-16 13:25:41 +02:00
Hannes Wallnöfer
3c76c77513
8098546: eval within a 'with' leaks definitions into global scope
...
Reviewed-by: sundar, attila
2015-06-15 15:49:14 +02:00
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
907f7f2c7c
8087211: Indirect evals should be strict with -strict option
...
Reviewed-by: lagergren, hannesw
2015-06-12 16:55:20 +05:30
Lana Steuck
a0d63f0bf4
Merge
2015-06-11 20:19:14 -07:00
Lana Steuck
0846823187
Added tag jdk9-b68 for changeset 4b727de06e46
2015-06-11 10:44:20 -07:00
Athijegannathan Sundararajan
f3198a6632
8087136: regression: apply on $EXEC fails with ClassCastException
...
Reviewed-by: hannesw, lagergren
2015-06-11 13:33:34 +05:30
Magnus Ihse Bursie
cdb6732e77
Merge
2015-06-11 00:50:40 +02:00
Magnus Ihse Bursie
2b2d7e95f6
8085822: JEP 223: New Version-String Scheme (initial integration)
...
Reviewed-by: erikj, dcubed, dholmes, alanb, sundar
2015-06-11 00:23:35 +02:00
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
Michael Haupt
a1bb22a48c
8085885: address Javadoc warnings in Nashorn source code
...
Reviewed-by: hannesw, lagergren
2015-06-08 10:28:04 +02:00
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
2466fa7128
8085802: Nashorn -nse option causes parse error on anonymous function definition
...
Reviewed-by: lagergren, attila
2015-06-08 13:57:44 +05:30
Athijegannathan Sundararajan
71388e3fb6
8085810: Return value of Objects.requireNonNull call can be used
...
Reviewed-by: lagergren, attila
2015-06-05 19:05:37 +05:30
Michael Haupt
cd3974600b
8080087: Nashorn $ENV.PWD is originally undefined
...
On Windows, the PWD environment variable does not exist and cannot be imported in scripting mode, so it is set explicitly.
Reviewed-by: lagergren, sundar
2015-06-05 12:38:53 +02:00
Lana Steuck
13a3f9e134
Merge
2015-06-04 18:49:16 -07:00
David Katleman
92021a8d90
Added tag jdk9-b67 for changeset 86337dfa5da2
2015-06-04 09:31:52 -07:00
Attila Szegedi
a1e2230a40
8081813: JSONListAdapter should delegate its [[DefaultValue]] to wrapped object
...
Reviewed-by: lagergren, sundar
2015-06-03 16:28:57 +02:00
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
Hannes Wallnöfer
b7ecae1bb9
8066220: Fuzzing bug: MethodHandle bug (Object,Object) != (boolean)Object
...
Reviewed-by: lagergren, attila, sundar
2015-06-03 09:36:58 +02:00
Michael Haupt
2a94099e09
8081696: reduce dependency of Nashorn tests on external components
...
Reviewed-by: attila, sundar
2015-06-02 17:08:13 +02:00
Michael Haupt
db8a93364f
8080275: transparently download testng.jar for Nashorn testing
...
Instead of asking the user to manually download and install testng.jar, automate the process via "ant externals".
Reviewed-by: hannesw, sundar
2015-06-02 14:35:03 +02:00
Michael Haupt
6d8372c2a7
8081668: fix Nashorn ant externals command
...
Update URLs for Showdown (JavaScript Markdown implementation) download
Reviewed-by: hannesw, sundar
2015-06-02 14:34:37 +02:00
Michael Haupt
b09c2994ec
8081604: rename ScriptingFunctions.tokenizeCommandLine
...
This used to be a single-purpose private helper; it is now used by external clients, and for new purposes. Consequently, it deserves a less specific name.
Reviewed-by: attila, lagergren, sundar
2015-06-02 10:40:19 +02:00
Michael Haupt
f4437cec2a
8081603: erroneous dot file generated from Nashorn --print-code
...
Emit a dot label string-conformant line break instead of a hard one to avoid strings ranging across an EOL.
Reviewed-by: attila, lagergren, sundar
2015-06-02 10:40:10 +02:00
Attila Szegedi
0d2785c745
8066773
: JSON-friendly wrapper for objects
...
Reviewed-by: jlaskey, lagergren, sundar
2015-06-02 10:55:17 +02:00
Joe Darcy
63cb346d4a
8075555: Add tiered testing definitions to the nashorn repo
...
Reviewed-by: lagergren
2015-06-02 00:16:20 -07:00
Athijegannathan Sundararajan
c3b0b573ff
8081609: engine.eval call from a java method which was called from a previous engine.eval results in wrong ScriptContext being used
...
Reviewed-by: attila, lagergren
2015-06-02 12:42:53 +05:30
Attila Szegedi
4a9502a06a
8066218: UTF-32LE mistakenly detected as UTF-16LE
...
Reviewed-by: lagergren, sundar
2015-06-01 15:01:36 +02:00
Lana Steuck
d9699bc260
Merge
2015-05-28 16:50:12 -07:00
David Katleman
6b065339e5
Added tag jdk9-b66 for changeset addfa81a8448
2015-05-28 16:13:56 -07:00
Athijegannathan Sundararajan
d321ca9523
8081156: jjs "nashorn.args" system property is not effective when script arguments are passed
...
Reviewed-by: hannesw, lagergren
2015-05-27 22:18:51 +05:30
Erik Joelsson
c318ab6e23
8081814: Modularize the deploy build
...
Reviewed-by: ihse, ddehaven
2015-05-27 17:35:21 +02:00
Attila Szegedi
6e24cffe34
8081204: ListAdapter throws NPE when adding/removing elements outside of JS context
...
Reviewed-by: lagergren, sundar
2015-05-27 14:37:11 +03:00
Athijegannathan Sundararajan
b05ced98a1
8007456: Nashorn test framework @argument does not handle quoted strings
...
Reviewed-by: hannesw, lagergren
2015-05-27 13:16:50 +05:30
Attila Szegedi
1333ff7ddd
8081062: ListAdapter should take advantage of JSObject
...
Reviewed-by: lagergren, sundar
2015-05-26 16:12:23 +02:00
Attila Szegedi
f9b1376aa3
8081015: Allow conversion of native arrays to Queue and Collection
...
Reviewed-by: hannesw, lagergren, sundar
2015-05-26 14:37:14 +02:00
Athijegannathan Sundararajan
5b954fdc5e
8036743: need ArrayBuffer constructor with specified data
...
Reviewed-by: attila, hannesw, lagergren
2015-05-26 13:49:45 +05:30
Lana Steuck
fb82a9eeb8
Merge
2015-05-21 16:19:37 -07:00
David Katleman
58d754e109
Added tag jdk9-b65 for changeset 8bbe109bca14
2015-05-21 10:07:41 -07:00
Athijegannathan Sundararajan
5431091715
8079145: jdk.nashorn.internal.runtime.arrays.IntArrayData.convert assertion
...
Reviewed-by: jlaskey, hannesw
2015-05-21 21:51:48 +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
Michael Haupt
ff3855c8ba
8049300: jjs scripting: need way to quote $EXEC command arguments to protect spaces
...
Honor quoting with "" and '' as well as escaped spaces
Reviewed-by: hannesw, sundar
2015-05-15 16:36:25 +02:00
Attila Szegedi
c9191f56e0
8078414: Don't create impossible converters for ScriptObjectMirror
...
Reviewed-by: hannesw, sundar
2015-05-15 15:40:57 +02:00
Michael Haupt
6a8c6779ea
8080471: fix usage of replace and file separator in Nashorn tests
...
Two tests should use replace instead of replaceAll, and there is a typo in the usage of File.separator.
Reviewed-by: attila, hannesw
2015-05-15 10:21:48 +02:00
Attila Szegedi
96747306e2
8079424: code generator for discarded boolean logical operation has an extra pop
...
Reviewed-by: lagergren, sundar
2015-05-15 10:19:37 +02:00
Lana Steuck
372c3a8c86
Merge
2015-05-14 20:14:44 -07:00
David Katleman
24c78d855c
Added tag jdk9-b64 for changeset 8b01824b0cbb
2015-05-14 12:38:15 -07:00
Attila Szegedi
68085fd188
8080295: Need to adjust test output for 8067931
...
Reviewed-by: jlaskey, sundar
2015-05-13 10:01:37 -05:00
Attila Szegedi
0f400ba879
8067931: Improve error message when with statement is passed a POJO
...
Reviewed-by: lagergren, sundar
2015-05-13 09:38:59 -05:00
Michael Haupt
538f0b4f06
8080286: use path separator setting consistently in Nashorn project properties
...
Replace uses of ":" with platform-independent path separator property
Reviewed-by: hannesw, sundar
2015-05-13 15:41:46 +02:00
Athijegannathan Sundararajan
c8dc03d400
8080182: Array.prototype.sort throws IAE on inconsistent comparison
...
Reviewed-by: lagergren, hannesw
2015-05-13 12:45:14 +05:30
Athijegannathan Sundararajan
ee03c0e102
8080090: -d option should dump script source as well
...
Reviewed-by: hannesw, lagergren
2015-05-12 12:40:33 +05:30
Athijegannathan Sundararajan
fd0591c105
8080042: can't build nashorn.jar from jdk9-dev/nashorn using jdk8 installation as JAVA_HOME
...
Reviewed-by: lagergren, jlaskey
2015-05-11 22:57:24 +05:30
Lana Steuck
dbb8e5a9d8
Merge
2015-05-07 20:49:48 -07:00
David Katleman
99ef3918ed
Added tag jdk9-b63 for changeset 06dd4411e4ca
2015-05-07 10:19:37 -07:00
Attila Szegedi
3ac44fdc58
8066751: Remove casts redundant with Java 9 buffer APIs
...
Reviewed-by: hannesw, sundar
2015-05-06 16:48:31 +02:00
Athijegannathan Sundararajan
b9fbd2d32d
8079470: Misleading error message when explicit signature constructor is called with wrong arguments
...
Reviewed-by: jlaskey, hannesw
2015-05-06 20:04:42 +05:30
Hannes Wallnöfer
a2301acb62
8066237: Fuzzing bug: Parser error on optimistic recompilation
...
Reviewed-by: lagergren, attila
2015-05-06 16:22:22 +02:00
Attila Szegedi
421b276f85
8079362: Enforce best practices for Node token API usage
...
Reviewed-by: hannesw, sundar
2015-05-06 15:46:54 +02:00
Attila Szegedi
79086bc842
8079349: Eliminate dead code around Nashorn code generator
...
Reviewed-by: hannesw, lagergren
2015-05-06 13:36:42 +02:00
Attila Szegedi
dbcd4aef5f
8079269: Optimistic rewrite in object literal causes ArrayIndexOutOfBoundsException
...
Reviewed-by: hannesw, lagergren
2015-05-05 18:35:29 +02:00
Hannes Wallnöfer
08e8a63ab5
8078612: Persistent code cache should support more configurations
...
Reviewed-by: lagergren, attila
2015-05-05 14:30:00 +02:00
Hannes Wallnöfer
b3fa231c01
8078049: Nashorn crashes when attempting to start TypeScript compiler
...
Reviewed-by: lagergren, attila
2015-05-05 14:23:43 +02:00
Lana Steuck
381737a6a5
Merge
2015-04-30 17:21:20 -07:00
David Katleman
5697364521
Added tag jdk9-b62 for changeset 2ae39df23f8e
2015-04-30 13:02:10 -07:00
Hannes Wallnöfer
c8634327e8
8053905: Eager code generation fails for earley boyer with split threshold set to 1000
...
Reviewed-by: attila, lagergren
2015-04-27 12:50:21 +02:00
Hannes Wallnöfer
9becc306ef
8066407: Function with same body not reparsed after SyntaxError
...
Reviewed-by: attila, lagergren
2015-04-27 12:27:33 +02:00
Lana Steuck
3a0c5d5da2
Merge
2015-04-23 16:12:25 -07:00
David Katleman
ea43882328
Added tag jdk9-b61 for changeset 3fd41cdba15e
2015-04-23 10:43:39 -07:00
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
Hannes Wallnöfer
bc04834c26
8071928: Instance properties with getters returning wrong values
...
Reviewed-by: attila, lagergren, sundar
2015-04-20 10:40:42 +02:00
Hannes Wallnöfer
d7248ad3bd
8073846: Javascript for-in loop returned extra keys
...
Reviewed-by: attila, lagergren, sundar
2015-04-20 10:39:55 +02:00
Lana Steuck
c323f11327
Merge
2015-04-17 10:25:26 -07:00
David Katleman
b7ce78f370
Added tag jdk9-b60 for changeset f678f348c947
2015-04-17 09:59:50 -07:00
Hannes Wallnöfer
a000d5154a
8077955: Undeclared globals in eval code should not be handled as fast scope
...
Reviewed-by: lagergren, attila
2015-04-16 17:31:32 +02:00
Hannes Wallnöfer
2cbce413a0
8067215: Disable dual fields when not using optimistic types
...
Reviewed-by: attila, lagergren
2015-04-10 14:18:31 +02:00
Lana Steuck
4c04224545
Merge
2015-04-09 17:36:16 -07:00
David Katleman
094c72c91a
Added tag jdk9-b59 for changeset c8bb4d1093d4
2015-04-09 06:40:21 -07:00
Lana Steuck
1f2a7cfb88
Merge
2015-04-08 14:31:51 -07:00
David Katleman
9db1af5eaf
Added tag jdk9-b58 for changeset 9a2cca215a5c
2015-04-08 13:12:53 -07:00
Athijegannathan Sundararajan
fcb7a55923
8076972: Several nashorn tests failing
...
Reviewed-by: lagergren, jlaskey
2015-04-07 00:13:18 +05:30
Lana Steuck
99a408038d
Merge
2015-04-03 16:35:42 -07:00
Athijegannathan Sundararajan
44b017bd90
8076646: nashorn tests should avoid using package names used by nashorn sources
...
Reviewed-by: hannesw
2015-04-03 19:09:34 +05:30
David Katleman
a0058605f3
Added tag jdk9-b57 for changeset ac0dca163b36
2015-04-02 10:02:50 -07:00
Lana Steuck
fda073f8b4
Merge
2015-04-01 12:29:49 -07:00
Hannes Wallnöfer
0f4227cfde
8075231: Typed array setters are very slow when index exceeds capacity
...
Reviewed-by: attila, lagergren
2015-03-26 22:13:41 +01:00
Hannes Wallnöfer
c74264d675
8075366: Slow scope access to global let/const does not work
...
Reviewed-by: sundar, attila, lagergren
2015-03-26 21:39:25 +01:00
David Katleman
9d2db271f4
Added tag jdk9-b56 for changeset 8151437996be
2015-03-26 13:09:11 -07:00
Magnus Ihse Bursie
ba7242fdab
8076060: Improve make bootstrap process
...
Reviewed-by: erikj
2015-03-26 16:17:38 +01:00
Hannes Wallnöfer
9454c8c825
8073868: Regex matching causes java.lang.ArrayIndexOutOfBoundsException: 64
...
Reviewed-by: attila, lagergren
2015-03-25 17:43:55 +01:00
Hannes Wallnöfer
268d8ef7a6
8075927: toNumber(String) accepts illegal characters
...
Reviewed-by: attila, sundar
2015-03-25 14:41:47 +01:00
Sergey Lugovoy
540bb21731
8075240: Output of some tests contains platform specific line break
...
Reviewed-by: sundar
2015-03-25 14:39:39 +03:00
Athijegannathan Sundararajan
de784d82f1
8012190: Global scope should be initialized lazily
...
Reviewed-by: lagergren, hannesw, attila
2015-03-25 14:36:22 +05:30
Athijegannathan Sundararajan
0803c08355
8074410: Startup time: Port shell.js to Java
...
Reviewed-by: lagergren, hannesw
2015-03-24 13:59:31 +05:30
James Laskey
bc29dd414c
8075623: Temporary patch to get fx imports working interim
...
Reviewed-by: lagergren
2015-03-23 09:04:59 -03:00
Athijegannathan Sundararajan
2d6a39e2e5
8075604: jjs exits even when non-daemon threads are still active
...
Reviewed-by: attila, jlaskey
2015-03-20 20:04:18 +05:30
Sergey Lugovoy
b7d77b1297
8068306: Tests for AST presentation Nashorn Parser API
...
8068304: Tests for Diagnostic listener for Nashorn Parser API
8068303: Create tests for Nashorn Parser API for create Tree from some different source and parameters
Reviewed-by: sundar, lagergren
2015-03-20 13:19:47 +03:00
Lana Steuck
1dae45d60e
Merge
2015-03-19 16:13:54 -07:00
David Katleman
7f20824dda
Added tag jdk9-b55 for changeset 6fae74f3f890
2015-03-19 12:59:27 -07:00
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