Commit Graph

1791 Commits

Author SHA1 Message Date
Srinivas Dama
200608b4c0 8164618: add documentation for NativeNumber and NativeBoolean
Reviewed-by: sundar
2016-08-24 14:02:41 +05:30
Lana Steuck
9814dee4e3 Merge 2016-08-18 21:33:30 +00:00
Lana Steuck
29a6fff092 Added tag jdk-9+132 for changeset bdadcb4724d1 2016-08-18 21:01:24 +00:00
Athijegannathan Sundararajan
a225cebefc 8164260: readLine does not echo characters
Reviewed-by: jlaskey
2016-08-18 16:54:27 +05:30
Athijegannathan Sundararajan
f2cc9a6362 8164216: Netbeans makefile for nashorn should use JDK_9 as platform
Reviewed-by: jlaskey
2016-08-17 19:16:28 +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
Lana Steuck
09e772a9d7 Merge 2016-08-11 17:02:59 +00:00
Lana Steuck
9104a81316 Added tag jdk-9+131 for changeset b381e616c242 2016-08-11 15:47:10 +00:00
Mandy Chung
00bf56a8f2 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: alanb, ksrini, henryjen, sundar
2016-08-10 15:49:16 -07: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
Alejandro Murillo
9541a3a9ec Merge 2016-08-04 17:49:29 +00:00
Alejandro Murillo
7fe4fa36c4 Added tag jdk-9+130 for changeset bb2621620e5f 2016-08-04 17:32:55 +00: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
Alejandro Murillo
aa6f092e5e Merge 2016-07-28 16:44:11 +00:00
Alejandro Murillo
99832bcf46 Added tag jdk-9+129 for changeset 3de843c943c0 2016-07-28 16:08:18 +00: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
Alejandro Murillo
2eadf97c78 Merge 2016-07-21 17:13:46 +00:00
Alejandro Murillo
22f3ec9aba Added tag jdk-9+128 for changeset 7cb424af93f1 2016-07-21 16:43:00 +00:00
Michael Haupt
ec5ad88851 8142969: Nashorn logging API requires testing
Reviewed-by: sundar, mhaupt
2016-07-21 10:40:05 +02:00
Attila Szegedi
49f0e7fc38 8160953: Update build-nagen-eclipse task to work with JDK 9
Reviewed-by: lagergren, sundar
2016-07-19 13:12:50 +02:00
Alejandro Murillo
314cdf4469 Merge 2016-07-14 16:21:21 +00:00
Alejandro Murillo
6d2a40170b Added tag jdk-9+127 for changeset d165f39ffd5e 2016-07-14 15:47:47 +00: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
Alejandro Murillo
9b6e1e12c1 Added tag jdk-9+126 for changeset 5c06a5663124 2016-07-07 18:21:25 +00:00
Alejandro Murillo
8865ea58f1 Merge 2016-06-30 22:38:55 +00:00
Alejandro Murillo
4463ceae59 Added tag jdk-9+125 for changeset e02c166da4dd 2016-06-30 22:10:11 +00:00
Tim Bell
08a72f8286 8160505: Automated test runs fail in nashorn because TEST_IMAGE_DIR is set by jib
Reviewed-by: erikj, sundar
2016-06-29 07:35:59 -07:00
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
Lana Steuck
803a8d9310 Merge 2016-06-23 21:13:33 +00:00
Lana Steuck
eac581e8b7 Added tag jdk-9+124 for changeset c549268fe94c 2016-06-23 20:35:16 +00: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
Lana Steuck
05e93094b7 Merge 2016-06-16 20:57:01 +00:00
Lana Steuck
4bc3235037 Added tag jdk-9+123 for changeset 28e775c6e08e 2016-06-16 19:07:29 +00: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
Lana Steuck
607cd7698d Merge 2016-06-09 19:07:12 +00:00
Lana Steuck
de3a140332 Added tag jdk-9+122 for changeset 6155e509fca0 2016-06-09 17:28:39 +00: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
Michael Haupt
d8e6d7821f 8148457: Remove jdk.nashorn.tools.FXShell class
Reviewed-by: sundar, jlaskey, mhaupt
2016-06-03 15:05:17 +02:00
Lana Steuck
9dd34d95e0 Merge 2016-06-02 21:14:32 +00:00
Lana Steuck
3e0f384c71 Added tag jdk-9+121 for changeset 3e6c168b4edb 2016-06-02 20:33:36 +00:00
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
Dalibor Topic
4bc1c3af53 8154469: Update FSF address
Updated Free Software Foundation's mailing address in LICENSE

Reviewed-by: rriggs, shade
2016-05-30 16:41:57 +02:00
Lana Steuck
a22a087abc Merge 2016-05-26 17:19:03 +00:00
Lana Steuck
4c77f7cbd5 Added tag jdk-9+120 for changeset 52305229ea03 2016-05-26 16:02:18 +00:00
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
Athijegannathan Sundararajan
6e67698c30 8157789: Nashorn sample/test.js should not use undocumented System property
Reviewed-by: mchung
2016-05-25 11:03:08 +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
Staffan Larsen
2baa671d45 8157605: Can't set both CONCURRENCY and EXTRA_JTREG_OPTIONS when running tests
Reviewed-by: tbell, erikj
2016-05-24 12:15:02 +02:00
Michael Haupt
11a849f973 8157444: exclude jjs shebang handling test from runs
Reviewed-by: sundar, hannesw, jlaskey
2016-05-20 16:02:36 +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
Lana Steuck
9a8cbd6e1b Merge 2016-05-19 19:46:39 +00:00
Lana Steuck
d9f0b27bfd Added tag jdk-9+119 for changeset a78497edf9fb 2016-05-19 17:48:04 +00:00
Hannes Wallnöfer
cf9a1d4970 8157263: Octane svn repository no longer exists
Reviewed-by: sundar
2016-05-18 22:30:14 +02:00
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
Hannes Wallnöfer
165edba622 8066229: Fuzzing bug: Can't find scope depth
Reviewed-by: sundar
2016-05-18 18:44:44 +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
Lana Steuck
cb8de1cae1 Merge 2016-05-12 18:46:54 +00:00
Lana Steuck
bab51634ec Added tag jdk-9+118 for changeset 78bffb8c47c3 2016-05-12 15:15:05 +00:00
Athijegannathan Sundararajan
945ba5a918 8156820: Nashorn nightly test failure after fix for 8156738
Reviewed-by: hannesw, mhaupt
2016-05-12 13:07:21 +05:30
Attila Szegedi
860e71a134 8156738: Use StackWalker for DynamicLinker.getLinkedCallSiteLocation
Reviewed-by: hannesw, sundar
2016-05-11 19:24:29 +02:00
Staffan Larsen
1de3636e0f 8156658: Common way to run jtreg tests
Reviewed-by: erikj, dsamersoff
2016-05-11 11:05:28 +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
Lana Steuck
19f9ce673f Merge 2016-05-05 19:10:51 +00:00
Lana Steuck
971ba57523 Added tag jdk-9+117 for changeset 6789c4ec0a28 2016-05-05 17:35:50 +00:00
Joe Darcy
8d5eac16b3 8156040: Nashorn tests still failing after latest Jigsaw merge
Reviewed-by: sundar
2016-05-04 10:42:41 -07:00
Hannes Wallnöfer
edd7a01d4b 8144711: (x) => x + 1 causes Assertion failure instead of SyntaxError
Reviewed-by: mhaupt, sundar
2016-05-04 13:39:41 +02:00
Athijegannathan Sundararajan
0c50b61dd4 8155944: ant build/test of nashorn is broken with the latest jdk9-dev build
Reviewed-by: jlaskey
2016-05-03 21:27:00 +05:30
Alan Bateman
985a2b23f9 Merge 2016-05-03 10:39:00 +01:00
Alan Bateman
6fe64604e7 8154956: Module system implementation refresh (4/2016)
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Reviewed-by: alanb, mchung, chegar, redestad
2016-05-03 09:11:31 +01:00
Lana Steuck
b66d02e59c Merge 2016-04-28 09:38:42 -07:00
Lana Steuck
45082e3194 Added tag jdk-9+116 for changeset 973b1c28c6d2 2016-04-28 08:26:43 -07:00
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