Commit Graph

100 Commits

Author SHA1 Message Date
Athijegannathan Sundararajan
30fdece570 8011960: [2,1].sort(null) should throw TypeError
Reviewed-by: hannesw, lagergren
2013-04-11 13:20:03 +05:30
Hannes Wallnöfer
ad7e2cd8de 8011756: Wrong characters supported in RegExp \c escape
Reviewed-by: lagergren, attila
2013-04-10 14:08:00 +02:00
Hannes Wallnöfer
3c60983c02 8011749: Bugs with empty character class handling
Reviewed-by: lagergren, attila
2013-04-10 14:05:11 +02:00
Hannes Wallnöfer
ab923e74bf 8011714: Regexp decimal escape handling still not correct
Reviewed-by: lagergren, attila
2013-04-10 14:00:11 +02:00
Hannes Wallnöfer
bc7905ab3a 8009230: Nashorn rejects extended RegExp syntax accepted by all major JS engines
Reviewed-by: jlaskey, lagergren
2013-04-05 19:50:10 +02:00
Attila Szegedi
35f9ab2054 8011555: Invalid class name in with block with JavaImporter causes MH type mismatch
Reviewed-by: jlaskey, lagergren
2013-04-04 18:32:00 +02:00
Athijegannathan Sundararajan
194f867e24 8011552: Arrays with missing elements are not properly sorted
Reviewed-by: jlaskey, lagergren
2013-04-04 20:46:31 +05:30
Attila Szegedi
a6439d2b72 Merge 2013-04-04 15:55:42 +02:00
Attila Szegedi
5a45a7da03 8011544: Allow subclassing Java classes from script without creating instances
Reviewed-by: jlaskey, sundar
2013-04-04 15:53:26 +02:00
Athijegannathan Sundararajan
76f2aa79e6 8011543: "".split(undefined,{valueOf:function(){throw 2}}) does not throw exception
Reviewed-by: lagergren, jlaskey
2013-04-04 18:30:30 +05:30
Athijegannathan Sundararajan
e20dc52ab2 8011421: When using Object.defineProperty on arrays, PropertyDescriptor's property accessors are invoked multiple times
Reviewed-by: lagergren, hannesw
2013-04-04 13:54:51 +05:30
Athijegannathan Sundararajan
2b494aafd9 8011394: RegExp.prototype.test() does not call valueOf on lastIndex property as per the spec
Reviewed-by: lagergren, jlaskey, hannesw
2013-04-04 10:24:46 +05:30
Athijegannathan Sundararajan
84f1ee1581 8011382: Data prototype methods and constructor do not call user defined toISOString, valueOf methods per spec
Reviewed-by: lagergren, jlaskey
2013-04-03 20:17:05 +05:30
Athijegannathan Sundararajan
a85fab2730 8011365: Array.prototype.join and Array.prototype.toString do not throw TypeError on null, undefined
Reviewed-by: attila, hannesw, lagergren
2013-04-03 15:27:28 +05:30
Attila Szegedi
7891ed4115 8011362: Overloaded method resolution foiled by nulls
Reviewed-by: hannesw, sundar
2013-04-03 11:13:08 +02:00
Athijegannathan Sundararajan
d35b6ae5f6 8011357: Array.prototype.slice and Array.prototype.splice should not call user defined valueOf of start, end arguments more than once
Reviewed-by: lagergren, hannesw
2013-04-03 11:41:42 +05:30
Athijegannathan Sundararajan
e96d207c68 8011274: Object.getOwnPropertyDescriptor(function(){"use strict"},"caller").get.hasOwnProperty("prototype") should be false
Reviewed-by: lagergren, jlaskey
2013-04-02 23:01:10 +05:30
Athijegannathan Sundararajan
fcc548f01d 8011237: Object.isExtensible(Object.getOwnPropertyDescriptor(function(){"use strict"},"caller").get) should be false
Reviewed-by: lagergren, jlaskey
2013-04-02 20:42:03 +05:30
Athijegannathan Sundararajan
da76d3b5ec 8011209: Object.getOwnPropertyDescriptor(function(){"use strict"},"caller").get.length is not 0
Reviewed-by: lagergren, hannesw, jlaskey
2013-04-02 17:40:53 +05:30
Marcus Lagergren
fec16029ea 8010995: The bug ID 8010710 accidentally got two digits transposed in the checkin and unit test name
Reviewed-by: hannesw, sundar
2013-03-29 08:55:05 +01:00
Athijegannathan Sundararajan
bf6e4f1ec7 8010924: Dealing with undefined property gets you a fatal stack
Reviewed-by: lagergren, jlaskey
2013-03-28 20:48:25 +05:30
Athijegannathan Sundararajan
97d7f98a21 8010720: Linkage problem with java.lang.String.length()
Reviewed-by: hannesw, lagergren
2013-03-26 18:26:19 +05:30
Athijegannathan Sundararajan
a9423b7ebf 8010709: org on the top level doesn't resolve
Reviewed-by: lagergren, hannesw
2013-03-25 18:20:16 +05:30
Marcus Lagergren
897aab045e 8017010: index evaluation to a temporary location for index operator much change temporaries to slots, but never scoped vars
Reviewed-by: hannesw, sundar
2013-03-25 12:01:06 +01:00
Attila Szegedi
7188961426 8010652: Eliminate non-child references in Block/FunctionNode, and make few node types immutable
Reviewed-by: jlaskey, lagergren
2013-03-23 00:58:39 +01:00
Athijegannathan Sundararajan
c846064c8f 8010199: javax.script.Invocable implementation for nashorn does not return null when matching functions are missing
Reviewed-by: lagergren, jlaskey
2013-03-18 21:03:11 +05:30
Marcus Lagergren
e05970ca52 8010147: Forgot to add EXPECTED files for lazy and eager sunspider test
Reviewed-by: sundar, jlaskey
2013-03-15 16:07:13 +01:00
Marcus Lagergren
2aeaf10fff 8009982: Lazy execution bugfix. Added lazy sunspider unit test. Added mandreel to compile-octane test. Fixed warnings
Reviewed-by: sundar, jlaskey
2013-03-14 14:49:55 +01:00
Athijegannathan Sundararajan
d671cda73c 8009868: For loop with "true" as condition results in AssertionError in codegen
Reviewed-by: jlaskey, hannesw, lagergren
2013-03-12 21:17:47 +05:30
Marcus Lagergren
1af08ef100 8009718: Lazy execution architecture continued - ScriptFunctionData is either final or recompilable. Moved ScriptFunctionData creation logic away from runtime to compile time. Prepared for method generation/specialization. Got rid of ScriptFunctionImplTrampoline whose semantics could be done as part of the relinking anyway. Merge with the lookup package change
Reviewed-by: attila, jlaskey
2013-03-12 15:30:53 +01:00
Athijegannathan Sundararajan
bb6c34adc7 8009757: Package access clean up and refactoring
Reviewed-by: jlaskey, lagergren, attila
2013-03-12 18:12:42 +05:30
Athijegannathan Sundararajan
d9cd2f6ad3 8009559: clean up method handle lookup code
Reviewed-by: ahgross, jlaskey, attila, sundar
2013-03-09 21:49:32 +05:30
Athijegannathan Sundararajan
4f3800def1 8009553: Object.create(Array.prototype) doesn't respect reset length
Reviewed-by: jlaskey, lagergren
2013-03-06 22:38:18 +05:30
Hannes Wallnöfer
242e864599 8008370: coffee script compiler doesn't work with Nashorn
Reviewed-by: lagergren, attila
2013-03-04 11:44:54 +01:00
Attila Szegedi
0248a98842 8006984: Introducing local into a function inside with statement confuses its scope
Reviewed-by: jlaskey, lagergren, sundar
2013-02-25 16:51:04 +01:00
Athijegannathan Sundararajan
445b8d2438 8008789: Enable java access and nashorn runtime tests for jtreg
Reviewed-by: lagergren, jlaskey, hannesw
2013-02-25 18:13:23 +05:30
Athijegannathan Sundararajan
f688068adf 8008731: Separate configuration environment (options, error/output writer etc.) from Context
Reviewed-by: hannesw, lagergren
2013-02-25 16:58:31 +05:30
Athijegannathan Sundararajan
48a5d9cb5f 8008729: Make sure that we can run basic jsr223 tests using jtreg
Reviewed-by: jlaskey, hannesw, lagergren
2013-02-22 22:39:23 +05:30
Marcus Lagergren
90b971a60d 8008554: load was broken for URLs
Reviewed-by: attila, sundar
2013-02-22 08:57:22 +01:00
Marcus Lagergren
9ff7a57a0f 8008648: Lazy JIT scope and callee semantics bugfixes. Broke out wallclock timer
Reviewed-by: attila, hannesw
2013-02-21 16:57:21 +01:00
Athijegannathan Sundararajan
be8f1b2b35 8008448: Add coverage test for jdk.nashorn.internal.ir.debug.JSONWriter
Reviewed-by: jlaskey, attila
2013-02-19 20:33:07 +05:30
Athijegannathan Sundararajan
350c3e01c1 8008387: Improve code coverage tests for JSObjectLinker and NashornBottomLinker
Reviewed-by: lagergren, jlaskey, hannesw
2013-02-18 20:41:12 +05:30
Athijegannathan Sundararajan
b1f72f6fd2 8008305: ScriptEngine.eval should offer the ability to provide a codebase
Reviewed-by: lagergren, hannesw, attila
2013-02-18 14:41:58 +05:30
Athijegannathan Sundararajan
1fb8213bb0 8008298: Add tests to cover specialized versions of Math functions
Reviewed-by: jlaskey, lagergren
2013-02-15 20:40:05 +05:30
Athijegannathan Sundararajan
c09d1ba6d7 8008291: Add more tests for better coverage of objects, scripting and parser packages
Reviewed-by: lagergren, jlaskey
2013-02-15 18:30:19 +05:30
Hannes Wallnöfer
8edbed784d 8008215: break in catch clause causes java.lang.VerifyError: Inconsistent stackmap
Reviewed-by: jlaskey, lagergren
2013-02-15 09:18:05 +01:00
Hannes Wallnöfer
6aeeee6b63 8008198: java.lang.AssertionError: Invalid break target class jdk.nashorn.internal.ir.TryNode
Reviewed-by: attila, jlaskey
2013-02-14 14:07:53 +01:00
Attila Szegedi
85c55a2aa4 8007990: No access to interface methods on a restricted class
Reviewed-by: jlaskey, lagergren, sundar
2013-02-14 13:51:54 +01:00
Marcus Lagergren
af9c882b95 8008206: The allInteger case for SwitchNode generation in CodeGenerator assumes integer LITERALS only
Reviewed-by: sundar, jlaskey
2013-02-14 13:52:12 +01:00
Attila Szegedi
82f8cef55c 8008085: Integrate Dynalink source code into Nashorn codebase
Reviewed-by: jlaskey, lagergren, sundar
2013-02-14 13:22:26 +01:00