Commit Graph

1732 Commits

Author SHA1 Message Date
Michael Haupt
3020dc6a71 8134933: re-enable LambdaFormEditor assertions in Nashorn testing
Reviewed-by: sundar
2016-01-22 11:12:26 +01:00
Lana Steuck
b077dc9ae5 Merge 2016-01-21 10:17:48 -08:00
Lana Steuck
82ccbd9ae7 Added tag jdk-9+102 for changeset 722ab3267903 2016-01-21 09:46:08 -08:00
Hannes Wallnöfer
fdfdf19e75 8147845: Varargs Array functions still leaking longs
Reviewed-by: mhaupt, sundar
2016-01-21 16:31:27 +01:00
Iris Clark
fff2106bbc 8136494: Update "@since 1.9" to "@since 9" to match java.version.specification
Reviewed-by: alanb, chegar, lancea
2016-01-19 20:31:40 -08:00
Srinivas Dama
a5d096be2e 8144113: enable jjs testing
Reviewed-by: mhaupt, sundar
2016-01-20 09:56:29 +01:00
Michael Haupt
56fb28f292 8145305: fix Nashorn shebang handling on Cygwin
Reviewed-by: hannesw, sundar
2016-01-18 11:31:43 +01:00
Hannes Wallnöfer
db40a8396b 8146274: Thread spinning on WeakHashMap.getEntry() with concurrent use of nashorn
Reviewed-by: mhaupt, attila
2016-01-18 10:25:36 +01:00
Lana Steuck
7572cf09fa Merge 2016-01-14 12:03:53 -08:00
Lana Steuck
d204070d50 Added tag jdk-9+101 for changeset 0a5536ef0eec 2016-01-14 08:08:25 -08:00
Attila Szegedi
df1606c088 8144919: Implement missing member handler for BeansLinker
Reviewed-by: lagergren, mhaupt, sundar
2016-01-14 13:24:03 +01:00
Attila Szegedi
0beda5bcab 8144917: Prepare AbstractJavaLinker/BeanLinker codebase for missing member implementation
Reviewed-by: mhaupt, sundar
2016-01-14 13:22:58 +01:00
Athijegannathan Sundararajan
e267b166cb 8147070: Dynalink GuardedInvocation must check the Class object passed
Reviewed-by: hannesw, mhaupt, attila
2016-01-14 15:35:43 +05:30
Michael Haupt
1689985910 8036977: Make process singleton options to be context wide
The bug was fixed in an earlier change. This change contributes a test.

Reviewed-by: hannesw, sundar
2016-01-14 10:55:26 +01:00
Hannes Wallnöfer
bfa98d042c 8147008: Nashorn primitive linker should handle ES6 symbols
Reviewed-by: attila, sundar
2016-01-13 19:34:13 +01:00
Hannes Wallnöfer
dd9c62130f 8143896: java.lang.Long is implicitly converted to double
Reviewed-by: mhaupt, jlaskey
2016-01-12 16:30:10 +01:00
Hannes Wallnöfer
ff26874c25 8146888: Wrong license headers in test files
Reviewed-by: mhaupt, jlaskey
2016-01-12 15:38:07 +01:00
Alan Bateman
910a1d8e14 8049422: Remove @jdk.Exported
Reviewed-by: dfuchs, mchung, darcy, chegar
2016-01-08 11:46:46 +00:00
Lana Steuck
78dca77135 Merge 2016-01-07 15:15:38 -08:00
Lana Steuck
19d45b40a2 Added tag jdk-9+100 for changeset 48ffe69dacef 2016-01-07 09:34:05 -08:00
Athijegannathan Sundararajan
017a8a1f36 8146625: OverloadedDynamicMethod has unused ClassLoader field that can be removed
Reviewed-by: attila, hannesw
2016-01-07 21:47:21 +05:30
Athijegannathan Sundararajan
3b28163296 8146556: jdk.dynalink.beans.ClassLinker can avoid using specific lookup and can use publicLookup instead
Reviewed-by: jlaskey
2016-01-06 20:19:02 +05:30
Athijegannathan Sundararajan
1c39decc2c 8146240: Three nashorn files contain "GNU General Public License" header
Reviewed-by: jlaskey
2016-01-05 18:40:43 +05:30
Athijegannathan Sundararajan
19a73fe658 8146253: jjs should look for "doc string" property to print documentation on shift-tab
Reviewed-by: attila
2015-12-30 09:57:40 +05:30
Athijegannathan Sundararajan
8717426652 8146251: Avoid annotation to specify documentation for JS builtin functions
Reviewed-by: attila
2015-12-30 09:27:19 +05:30
Lana Steuck
f2b6ce04e4 Merge 2015-12-24 10:33:11 -08:00
Athijegannathan Sundararajan
9f0dcb1ad6 8146147: Java linker indexed property getter does not work for computed nashorn string
Reviewed-by: jlaskey
2015-12-24 16:52:06 +05:30
Lana Steuck
bc8d75f66b Added tag jdk-9+99 for changeset e6f9bacfb9a4 2015-12-23 15:42:01 -08:00
Lana Steuck
d32db5bf10 Merge 2015-12-18 09:56:35 -08:00
Lana Steuck
6970d8e401 Added tag jdk-9+98 for changeset d1fe6522acf1 2015-12-18 09:29:14 -08:00
Lana Steuck
25f57599fa Merge 2015-12-17 20:26:31 -08:00
Lana Steuck
6c7a717d3d Added tag jdk-9+97 for changeset 24317dc1c751 2015-12-17 19:39:28 -08:00
Athijegannathan Sundararajan
ddf5ec8ed8 8145669: apply2call optimized callsite fails after becoming megamorphic
Reviewed-by: jlaskey, hannesw
2015-12-17 18:11:09 +05:30
Athijegannathan Sundararajan
fe32b31552 8145630: accidental debug printlns in NativeFunction.java
Reviewed-by: hannesw
2015-12-17 13:40:15 +05:30
Athijegannathan Sundararajan
e760e9cbf3 8145550: Megamorphic invoke should use CompiledFunction variants without any LinkLogic
Reviewed-by: jlaskey, hannesw, attila
2015-12-17 08:31:24 +05:30
Athijegannathan Sundararajan
2cee75db22 8145486: jjs should support documentation key shortcut in interactive mode
Reviewed-by: mhaupt, hannesw
2015-12-16 16:42:03 +05:30
Attila Szegedi
d8b6306e43 8144914: Eagerly lookup browser JS object class in BrowserJSObjectLinker
Reviewed-by: hannesw, sundar
2015-12-14 17:38:56 +01:00
Athijegannathan Sundararajan
c6dbec4bb5 8145314: jjs tab-completion should support camel case completion
Reviewed-by: mhaupt, hannesw
2015-12-14 21:53:47 +05:30
Hannes Wallnöfer
67fe9c8efe 8144020: Remove long as an internal numeric type
Reviewed-by: attila, sundar, lagergren
2015-12-14 14:27:46 +01:00
Michael Haupt
64634dc9a4 8144221: fix Nashorn shebang argument handling on Mac/Linux
Reviewed-by: jlaskey, lagergren
2015-12-14 14:02:59 +01:00
Athijegannathan Sundararajan
772e8d6a04 8145186: jjs package completion should have a fallback when javac is not available
Reviewed-by: hannesw, mhaupt
2015-12-11 20:06:25 +05:30
Lana Steuck
2c60adf41b Merge 2015-12-10 09:24:33 -08:00
Lana Steuck
d4abddad17 Added tag jdk-9+96 for changeset 33e727a94932 2015-12-10 08:17:13 -08:00
Athijegannathan Sundararajan
14fc571c54 8144979: Context.fromClass should catch exception from Class.getClassLoader call
Reviewed-by: attila, mhaupt
2015-12-09 16:56:34 +05:30
Athijegannathan Sundararajan
dbcaf8cb02 8144841: Add a sample for pluggable dynalink linker for stream property on arrays and a REAMDE for linker samples
Reviewed-by: mhaupt, attila
2015-12-08 17:16:10 +05:30
Lana Steuck
8ea2b0088a Merge 2015-12-07 14:19:19 -08:00
Athijegannathan Sundararajan
11d29f7c6c 8144519: Add a sample for pluggable dynalink linker that demonstrats beans linker delegation
Reviewed-by: mhaupt, jlaskey
2015-12-03 19:04:39 +05:30
Lana Steuck
6da47aa9a3 Added tag jdk-9+95 for changeset a769d473f680 2015-12-02 15:55:55 -08:00
Lana Steuck
90a60b04c7 Merge 2015-12-02 09:37:26 -08:00
Athijegannathan Sundararajan
4a435bea6c 8144473: Nashorn code assumes NashornCallSiteDescriptor always
Reviewed-by: hannesw, mhaupt
2015-12-02 16:19:15 +05:30
Iris Clark
1ad5b907b1 Merge 2015-11-29 20:30:01 -08:00
Lana Steuck
4fc35832c7 Added tag jdk9-b94 for changeset 2708ec4e47af 2015-11-29 11:00:11 -08:00
Hannes Wallnöfer
9739ad81ee 8144131: ArrayData.getInt implementations do not convert to int32
Reviewed-by: lagergren, sundar
2015-11-27 08:44:02 +01:00
Lana Steuck
594d9d18c8 Merge 2015-11-30 13:26:07 -08:00
Athijegannathan Sundararajan
ef01e1525e 8144230: Add a sample for pluggable dynalink linker
Reviewed-by: hannesw, mhaupt
2015-11-30 18:16:47 +05:30
Athijegannathan Sundararajan
67d3d94345 8144186: Update Main.asm sample to use dynalink public API
Reviewed-by: hannesw, mhaupt
2015-11-27 18:28:16 +05:30
Athijegannathan Sundararajan
67506cb74c 8144160: Regression: two tests fail on Windows with "ant test" target
Reviewed-by: hannesw, mhaupt
2015-11-27 13:41:40 +05:30
Athijegannathan Sundararajan
3cbc3adb36 8144051: failing test262parallel run leads to successful build
Reviewed-by: mhaupt, hannesw
2015-11-26 19:02:59 +05:30
Michael Haupt
769f47e66f 8143642: Nashorn shebang argument handling is broken
Reviewed-by: hannesw, sundar
2015-11-26 12:01:41 +01:00
Attila Szegedi
505e5097e6 8141338: Move jdk.internal.dynalink package to jdk.dynalink
Reviewed-by: hannesw, sundar
2015-11-24 10:19:34 +01:00
Hannes Wallnöfer
c51be36580 8143821: Wrong test name in JDK-8143304
Reviewed-by: attila, sundar
2015-11-23 17:52:04 +01:00
Hannes Wallnöfer
f22e763e60 8141407: Wrong evaluation of a != a when a = NaN
Reviewed-by: sundar, attila
2015-11-23 15:26:10 +01:00
Lana Steuck
cba5230f0a Merge 2015-11-20 15:40:08 -08:00
Iris Clark
b60b3b7285 Merge 2015-11-19 14:01:43 -08:00
Lana Steuck
765f0a1576 Added tag jdk9-b93 for changeset eee09e6b6e93 2015-11-19 09:36:39 -08:00
Hannes Wallnöfer
bc8fbeee55 8143304: Random failures when script size exceeds token limits
Reviewed-by: sundar, attila, lagergren
2015-11-19 14:37:14 +01:00
Michael Haupt
4897df19a3 8143297: Nashorn compilation time reported in nanoseconds
Reviewed-by: hannesw, sundar
2015-11-19 11:28:34 +01:00
Hannes Wallnöfer
9e8fa2b8c2 8131929: Add option for debuggable scopes
Reviewed-by: attila, lagergren
2015-11-18 17:12:47 +01:00
Iris Clark
25d5c9c97f Merge 2015-11-16 20:16:55 -08:00
Alejandro Murillo
f65591ae29 Merge 2015-11-13 10:35:28 -08:00
Attila Szegedi
e67cae2407 8142924: ES6 symbols created with Symbol.for should deserialize to canonical instances
Reviewed-by: hannesw, lagergren, sundar
2015-11-13 16:21:22 +01:00
Lana Steuck
e5f8d94eb5 Merge 2015-11-12 18:32:09 -08:00
Lana Steuck
196fe549ba Merge 2015-11-12 14:14:37 -08:00
Lana Steuck
8b29a14d37 Added tag jdk9-b92 for changeset 59fdb1bb8199 2015-11-12 10:39:12 -08:00
Hannes Wallnöfer
898d1b3cf0 8142864: Raw types warning in WeakValueCache
Reviewed-by: mhaupt, attila
2015-11-12 19:31:22 +01:00
Athijegannathan Sundararajan
5b33de6a32 8142857: Enable all nashorn "api" tests for jtreg test run
Reviewed-by: attila, hannesw, mhaupt
2015-11-12 19:51:43 +05:30
Athijegannathan Sundararajan
51556ae6ea 8142501: nashorn tests failing after recent changes
Reviewed-by: hannesw
2015-11-12 12:30:15 +05:30
Joseph Provino
c2eff46269 Merge 2015-11-11 23:47:43 +00:00
Hannes Wallnöfer
3bfbc63cd6 8047366: (1000000000000000128).toString() and (1000000000000000128).toFixed() don't evaluate to expected values
Reviewed-by: attila, sundar
2015-11-11 16:35:38 +01:00
Hannes Wallnöfer
12e30a3d04 8141505: floating point parse incorrect on big integer
Reviewed-by: attila, sundar
2015-11-11 16:34:26 +01:00
Hannes Wallnöfer
13dbf6a119 8141702: Add support for Symbol property keys
Reviewed-by: attila, sundar
2015-11-11 16:28:17 +01:00
Hannes Wallnöfer
15ef19ee62 8010803: Number to String conversion functionality overhaul
Reviewed-by: attila, lagergren
2015-11-11 15:22:14 +01:00
Attila Szegedi
534ff3deff 8142422: Smaller Dynalink API adjustments
Reviewed-by: hannesw, sundar
2015-11-11 14:54:09 +01:00
Chris Hegarty
fe552c2f39 8140606: Update library code to use internal Unsafe
Reviewed-by: alanb, mchung, psandoz, weijun
2015-11-11 11:32:15 +00:00
Iris Clark
3b0c6b949c Merge 2015-11-09 10:57:08 -08:00
Attila Szegedi
75d6c996f1 8141550: Introduce a command line option instead of nashorn.unstable.relink.threshold system property
Reviewed-by: hannesw, sundar
2015-11-09 15:37:07 +01:00
Attila Szegedi
e3ea5caf72 8141538: Make DynamicLinker specific to a Context in Nashorn
Reviewed-by: hannesw, sundar
2015-11-09 14:04:43 +01:00
Attila Szegedi
87a85f53d6 8141541: Simplify Nashorn's Context class loader handling
Reviewed-by: hannesw, sundar
2015-11-09 14:03:37 +01:00
Lana Steuck
af002a45a4 Merge 2015-11-05 13:42:32 -08:00
Chris Plummer
7a914a3308 8141489: [TESTBUG] requiredVersion in TEST.ROOT needs to updated to 4.1 b12
Updated requiredVersion to 4.1 b12

Reviewed-by: dholmes, sla, darcy
2015-11-05 10:29:46 -08:00
Lana Steuck
4e869c0817 Added tag jdk9-b91 for changeset 35fa76b8f730 2015-11-05 08:15:48 -08:00
Attila Szegedi
31437f54c2 8141446: Cache Class.forName for permanently loaded classes
Reviewed-by: hannesw, mhaupt, sundar
2015-11-05 15:02:36 +01:00
Attila Szegedi
51f33e9a51 8141524: CompilerTest execution time dominated by Field.setAccessible
Reviewed-by: hannesw, mhaupt, sundar
2015-11-05 12:15:40 +01:00
Attila Szegedi
8fa1d710b7 8141425: Improve caching in NashornCallSiteDescriptor
Reviewed-by: hannesw, lagergren
2015-11-05 12:13:36 +01:00
Lana Steuck
5d217eab8d Merge 2015-11-04 13:46:14 -08:00
Magnus Ihse Bursie
79287d45cf 8141333: Rename SetupArchive to SetupJarArchive
Reviewed-by: erikj, tbell
2015-11-03 17:54:19 +01:00
Athijegannathan Sundararajan
5532631558 8141285: NameCode should pass tests from BytecodeNameTest.java
Reviewed-by: attila, mhaupt
2015-11-03 21:08:53 +05:30
Attila Szegedi
44740462f8 8141144: Move NameCodec to jdk.nashorn.internal space
Reviewed-by: hannesw, sundar
2015-11-02 18:26:53 +01:00
Iris Clark
58e8e35f4b Merge 2015-11-01 09:49:14 -08:00
Lana Steuck
97d10805c3 Added tag jdk9-b90 for changeset e3fb1c8b2f41 2015-10-30 10:29:04 -07:00
Lana Steuck
5310e9b170 Merge 2015-10-29 12:39:57 -07:00
Lana Steuck
9b5d6530ec Added tag jdk9-b89 for changeset 1c5439fcdc26 2015-10-29 08:42:35 -07:00
Andreas Woess
232477b3a4 8140759: add ES6 template literal test
Reviewed-by: hannesw, sundar
2015-10-29 11:37:48 +01:00
Andreas Woess
d65a7b5c34 8134941: Implement ES6 template literal support
Reviewed-by: attila, hannesw
2015-10-28 10:54:05 +01:00
Iris Clark
0c347421d9 Merge 2015-10-25 19:16:51 -07:00
Lana Steuck
3e9bab356e Merge 2015-10-22 11:12:39 -07:00
Lana Steuck
88330b7239 Added tag jdk9-b88 for changeset b543e47c74b1 2015-10-22 08:47:53 -07:00
Attila Szegedi
06ebd4f0e2 8140273: restore use of CompositeOperation.contains where it is needed
Reviewed-by: hannesw, sundar
2015-10-22 10:43:10 +02:00
Lana Steuck
9658008b91 Merge 2015-10-21 18:39:15 -07:00
Lana Steuck
15638abdb3 Merge 2015-10-21 15:15:33 -07:00
Attila Szegedi
fe13034c1d 8139931: Introduce Operation objects in Dynalink instead of string encoding
Reviewed-by: hannesw, sundar
2015-10-21 19:33:58 +02:00
Attila Szegedi
df445c6578 8139919: Make CallSiteDescriptor a concrete class
Reviewed-by: hannesw, lagergren, sundar
2015-10-21 10:42:20 +02:00
Attila Szegedi
b49c5c8b09 8139905: Add a convenience AccessControlContext factory
Reviewed-by: hannesw, sundar
2015-10-21 10:41:54 +02:00
Attila Szegedi
d62fb19270 8139895: Introduce GuardingDynamicLinkerExporter
Reviewed-by: hannesw, sundar
2015-10-20 23:34:46 +02:00
Attila Szegedi
d2229f28fe 8139888: Improve Dynalink JavaDoc some more
Reviewed-by: hannesw, sundar
2015-10-20 23:34:16 +02:00
Attila Szegedi
4b535d31c4 8139887: Reduce visibility of few methods in TypeUtilities and Guards API
Reviewed-by: hannesw, sundar
2015-10-20 23:33:39 +02:00
Attila Szegedi
f12273ae3b 8139761: Improve Dynalink class nomenclature and package organization
Reviewed-by: hannesw, sundar
2015-10-20 23:33:18 +02:00
Attila Szegedi
3d0ec10abd 8139884: Use privileged blocks when working with class loaders
Reviewed-by: hannesw, mhaupt, sundar
2015-10-19 22:36:03 +02:00
Attila Szegedi
cabd8f2f06 8139756: Eliminate GuardedTypeConversion, DynamicLinker.getCurrentLinkRequest and its associated permission
Reviewed-by: hannesw, sundar
2015-10-19 18:24:47 +02:00
Athijegannathan Sundararajan
6671d2c38d 8139852: jjs interactive mode fails to work with security manager
Reviewed-by: attila, hannesw
2015-10-19 15:49:21 +05:30
Lana Steuck
2b351e3bf6 Added tag jdk9-b87 for changeset 9f7dd20687ba 2015-10-19 00:25:16 -07:00
Attila Szegedi
3bbcdaa0b2 8139590: Improve Dynalink JavaDoc
Reviewed-by: hannesw, lagergren
2015-10-19 08:45:29 +02:00
Attila Szegedi
57a2ec80e9 8139588: Remove concept of runtime context arguments, call site tokens, and link counts
Reviewed-by: hannesw, sundar
2015-10-19 08:39:06 +02:00
Attila Szegedi
8f8c3ea091 8139435: Make sure CallSiteDescriptor.getLookup is subject to a security check
Reviewed-by: hannesw, sundar
2015-10-19 08:30:03 +02:00
Attila Szegedi
eba30098f8 8139304: Remove elaborate call site descriptor class hierarchy and factory for them. Remove AutoDiscovery, DefaultPrelinkFilter, and BottomGuardingDynamicLinker as they can be inlined into DynamicLinkerFactory. Remove CallerSensitiveDetector as it can be inlined into AbstractJavaLinker. Make ClassMap non-public
Reviewed-by: hannesw, sundar
2015-10-19 08:23:03 +02:00
Lana Steuck
ae27285952 Merge 2015-10-15 16:50:08 -07:00
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
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