Commit Graph

491 Commits

Author SHA1 Message Date
Marcus Lagergren
ebdc046949 8062937: Need to block constant assumption for index setters and defineOwnProperty, not just delete
Reviewed-by: hannesw, jlaskey
2014-11-13 16:59:03 +01:00
Marcus Lagergren
434b1899be 8035312: Various array and ScriptObject length issues for non writable length fields
Reviewed-by: hannesw, attila
2014-11-12 14:12:01 +01:00
Attila Szegedi
c0e0171008 8062799: Binary logical expressions can have numeric types
Reviewed-by: lagergren, sundar
2014-11-11 17:27:44 +01:00
Hannes Wallnöfer
ed9bce193a 8047365: Very long function names break codegen
Reviewed-by: attila, lagergren
2014-11-06 13:17:47 +01:00
Hannes Wallnöfer
0c4006a654 8062624: java.lang.String methods not available on concatenated strings
Reviewed-by: lagergren, attila
2014-11-06 13:15:52 +01:00
Marcus Lagergren
fe0da815c5 8057825: Bug in apply specialization - if an apply specialization that is available doesn't fit, a new one wouldn't be installed, if the new code generated as a specialization didn't manage to do the apply specialization. Basically changing a conditional to an unconditional
Reviewed-by: attila, hannesw
2014-11-05 12:34:06 +01:00
Marcus Lagergren
75d37c8e9c 8061959: ArrayBuffer lacked static isViewMethod
Reviewed-by: attila, sundar
2014-11-03 13:58:52 +01:00
Marcus Lagergren
f27f5dd651 8062381: Wrong index was used for linking charCodeAt specializations
Reviewed-by: attila, hannesw
2014-11-03 12:34:39 +01:00
Attila Szegedi
5d2bb4cd2d 8059443: NPE when unboxing return values
Reviewed-by: lagergren, sundar
2014-11-03 09:49:52 +01:00
Hannes Wallnöfer
44b0af6eb9 8062583: Throwing object with error prototype causes error proto to be caught
Reviewed-by: sundar, jlaskey
2014-10-31 16:50:31 +01:00
Hannes Wallnöfer
cd2c4bfd1d 8062132: Nashorn incorrectly binds this for constructor created by another function
Reviewed-by: jlaskey, sundar
2014-10-31 10:06:52 +01:00
Athijegannathan Sundararajan
c92cca11f6 8062216: [nashorn] regresion test failure with TimeZone
Reviewed-by: hannesw, lagergren
2014-10-28 17:22:17 +05:30
Athijegannathan Sundararajan
b7956c76bc 8062024: Issue with date.setFullYear when time other than midnight
Reviewed-by: jlaskey, lagergren
2014-10-27 17:54:00 +05:30
Marcus Lagergren
5f5c28bf63 8061391: concat as a builtin optimistic form, had to remove NoTypedArrayData and replace it, as we throw away a lot of optimistic link opportunities with NoTypedArrayData not being Continuous
Reviewed-by: attila, hannesw
2014-10-23 15:19:00 +04:00
Attila Szegedi
e170fafd7c 8058610: must not let long operations overflow
Reviewed-by: hannesw, jlaskey, lagergren
2014-10-21 14:27:49 +02:00
Attila Szegedi
6da7daa4c2 8061113: Boolean used as optimistic call return type
Reviewed-by: hannesw, sundar
2014-10-16 11:34:31 +02:00
Athijegannathan Sundararajan
6427d424c8 8060688: Nashorn: Generated script class name fails --verify-code for names with special chars
Reviewed-by: jlaskey, hannesw
2014-10-15 19:50:03 +05:30
Athijegannathan Sundararajan
2d6eed916f 8050977: Java8 Javascript Nashorn exception: no current Global instance for nashorn
Reviewed-by: attila, lagergren, hannesw
2014-10-13 23:38:49 +05:30
Hannes Wallnöfer
4fcc6c8f4f 8060011: Concatenating an array and converting it to Java gives wrong result
Reviewed-by: lagergren, attila
2014-10-13 17:16:32 +02:00
Athijegannathan Sundararajan
f2913f0270 8060101: AssertionError: __noSuchProperty__ placeholder called from NativeJavaImporter
Reviewed-by: attila, jlaskey
2014-10-10 17:59:22 +05:30
Hannes Wallnöfer
4f8e9a09e2 8059236: Memory leak when executing octane pdfjs with optimistic typing
Reviewed-by: jlaskey, attila
2014-10-08 15:50:36 +02:00
Marcus Lagergren
da0b4cb7df 8025435: Optimistic builtins support, implemented initial optimistic versions of push, pop, and charCodeAt
Reviewed-by: attila, hannesw, sundar
2014-09-25 15:53:47 +02:00
Sergey Lugovoy
643e8d87e6 8057779: Tests failed on Windows when in output contains path to script
Reviewed-by: sundar, lagergren, hannesw
2014-09-23 15:58:44 +04:00
Attila Szegedi
00019f9c03 8058561: NPE in LocalVariableTypesCalculator
Reviewed-by: lagergren, sundar
2014-09-22 14:46:04 +02:00
Hannes Wallnöfer
62f4b355b5 8047764: Indexed or polymorphic set on global affects Object.prototype
Reviewed-by: lagergren, attila
2014-09-22 13:28:28 +02:00
Sergey Lugovoy
3d7f4564c6 8057035: Some tests failed using java.awt.Color on Solaris without X11 libraries
Reviewed-by: lagergren
2014-09-17 16:44:23 +04:00
Athijegannathan Sundararajan
bddf81075a 8058615: Overload resolution ambiguity involving ConsString
Reviewed-by: lagergren, hannesw
2014-09-17 15:02:42 +05:30
Athijegannathan Sundararajan
4dd455e254 8058545: With strict mode, bean property assignment of a non-existent property should result in TypeError
Reviewed-by: hannesw, lagergren
2014-09-16 17:04:35 +05:30
Hannes Wallnöfer
9352e3ed55 8056978: ClassCastException: cannot cast jdk.nashorn.internal.scripts.JO*
Reviewed-by: jlaskey, sundar
2014-09-15 17:51:11 +02:00
Athijegannathan Sundararajan
8c0e33df17 8058422: Users should be able to overwrite "context" and "engine" variables
Reviewed-by: lagergren, attila
2014-09-15 15:18:13 +05:30
Hannes Wallnöfer
1e000f777d 8057743: Single quotes must be escaped in message resource file
Reviewed-by: attila, lagergren, sundar
2014-09-12 11:00:51 +02:00
Hannes Wallnöfer
26d9d19841 8058179: Global constants get in the way of self-modifying properties
Reviewed-by: attila, jlaskey, sundar, lagergren
2014-09-11 17:23:02 +02:00
Attila Szegedi
f8b399466b 8057930: remove eval ID
Reviewed-by: hannesw, sundar
2014-09-09 15:33:58 +02:00
Attila Szegedi
c6dd744ff0 8057148: Skip nested functions on reparse
Reviewed-by: hannesw, lagergren
2014-09-08 18:40:58 +02:00
Sergey Lugovoy
5c841f8049 8057678: Tests for let and const keywords in Nashorn
Reviewed-by: hannesw, lagergren
2014-09-08 15:37:50 +04:00
Athijegannathan Sundararajan
f7042614f7 8057742: ant clean test should not fail if one or more external test suites are missing
Reviewed-by: lagergren, hannesw
2014-09-08 15:51:27 +05:30
Attila Szegedi
6e6817cf2b 8056129: AtomicInteger is treated as primitive number with optimistic compilation
Reviewed-by: jlaskey, lagergren
2014-09-04 18:57:14 +02:00
Hannes Wallnöfer
7ecdd47620 8051889: Implement block scoping in symbol assignment and scope computation
Reviewed-by: attila, lagergren
2014-09-04 15:37:14 +02:00
Marcus Lagergren
6db003872b 8057019: Various problems with extra arguments to applies
Reviewed-by: attila, hannesw, jlaskey
2014-09-04 10:52:42 +02:00
Sergey Lugovoy
d23eaa4432 8054343: Nashorn: Some tests fails on windows with AccessControlException
Reviewed-by: lagergren, sundar
2014-09-01 17:34:37 +04:00
Athijegannathan Sundararajan
b5af5f7eae 8056123: Anonymous function statements leak internal function names into global scope
Reviewed-by: hannesw, attila
2014-08-27 14:27:56 +05:30
Sergey Lugovoy
b04e423d8d 8055811: Tests for Nashorn ClassFilter Support
Reviewed-by: sundar, attila
2014-08-26 13:26:15 +04:00
Attila Szegedi
4aeaccdf69 8055870: iteration fails if index var is not used
Reviewed-by: hannesw, lagergren
2014-08-25 22:36:05 +02:00
Athijegannathan Sundararajan
ed9b4d01ec 8055899: Two nashorn tests fail in 8u40 nightly build with ClassNotFoundException
Reviewed-by: jlaskey, lagergren
2014-08-25 20:26:53 +05:30
Athijegannathan Sundararajan
cb277efc44 8055830: JDK-8015969.js is silently failing
Reviewed-by: lagergren, jlaskey, hannesw
2014-08-22 22:50:38 +05:30
Athijegannathan Sundararajan
9700f06b1b 8055796: JSObject and browser JSObject linkers should provide fallback to call underlying Java methods directly
Reviewed-by: attila, hannesw
2014-08-22 15:47:28 +05:30
Athijegannathan Sundararajan
017d321931 8055762: Nashorn misses linker for netscape.javascript.JSObject instances
Reviewed-by: lagergren, jlaskey
2014-08-21 20:06:48 +05:30
Athijegannathan Sundararajan
16bef5aa2a 8050078: Nashorn ClassFilter Support
Reviewed-by: lagergren, hannesw
2014-08-20 20:04:19 +05:30
Attila Szegedi
9227b18d8a 8055199: Tidy up Nashorn codebase for code standards (August 2014)
Reviewed-by: hannesw, lagergren
2014-08-15 17:30:49 +02:00
Athijegannathan Sundararajan
983051a456 8055139: test/script/trusted/JDK-8055107.js fails with access control exception
Reviewed-by: lagergren, attila, jlaskey
2014-08-14 20:14:54 +05:30