Commit Graph

491 Commits

Author SHA1 Message Date
Athijegannathan Sundararajan
f7940fec73 8043930: TypeError when attemping to create an instance of non-public class could be better
Reviewed-by: attila, lagergren
2014-05-26 15:48:25 +05:30
Hannes Wallnöfer
67d65fd0df 8030202: Nashorn: Multiple RegExp#ignoreCase issues
Reviewed-by: sundar, jlaskey
2014-05-22 17:51:56 +02:00
Marcus Lagergren
b4b7b4e53d 8043632: Parallelize class installation and various script fixes
Reviewed-by: sundar, attila
2014-05-21 16:12:40 +02:00
Marcus Lagergren
cc1275a3bf 8043611: Move timing dependent benchmark for apply2call specialization to currently_failing. It is dependent that nothing takes machine time when doing the two runs, causing spurious assertions. Suggest running octane.raytrace manually instead to verify that this works, or incorporating it in the nightly test suite
Reviewed-by: sundar, attila
2014-05-21 16:12:40 +02:00
Marcus Lagergren
3d7f88fb31 8043504: Octane test harness was missing argument to print_always at one callsite, causing erroneous logging
Reviewed-by: sundar, attila
2014-05-20 10:40:28 +02:00
Athijegannathan Sundararajan
db62a418b3 8043443: Test framework changes to run script tests without security manager
Reviewed-by: attila
2014-05-20 08:32:09 +05:30
Attila Szegedi
cfbed730b7 8043431: Fix yet another corner case of JDK-8041995
Reviewed-by: hannesw, lagergren
2014-05-19 18:24:12 +02:00
Marcus Lagergren
26308e1cd6 8034206: Make parts of code pipeline reusable in order to facilitate faster warmup and faster lazy compilation
Reviewed-by: hannesw, attila
2014-05-19 15:29:42 +02:00
Attila Szegedi
b0873269dc 8043235: Type-based optimizations interfere with continuation methods
Reviewed-by: jlaskey, lagergren
2014-05-15 15:28:51 +02:00
Attila Szegedi
4fd3436709 8043133: Fix corner cases of JDK-8041995
Reviewed-by: hannesw, lagergren
2014-05-14 17:05:08 +02:00
Attila Szegedi
64fd9c191a 8042118: Separate types from symbols
Reviewed-by: hannesw, lagergren
2014-05-13 11:30:40 +02:00
Athijegannathan Sundararajan
f96b4d2e4e 8042364: Make __proto__ ES6 draft compliant
Reviewed-by: jlaskey, lagergren, attila
2014-05-06 17:54:15 +05:30
Hannes Wallnöfer
77834a008e 8041998: RegExp implementation is not thread-safe
Reviewed-by: lagergren, sundar, attila
2014-05-06 12:38:12 +02:00
Matherey Nunez
31c5e7065a 8037572: Add more test cases to check static types
Reviewed-by: attila, lagergren
2014-05-05 14:17:20 +02:00
Marcus Lagergren
2f01820f6d 8041625: AccessorProperty currentType must only by Object.class when non-primitive, and scoping followup problem for lazily generated with bodies
Reviewed-by: jlaskey, attila
2014-05-02 18:22:29 +02:00
Athijegannathan Sundararajan
7579bb9eb4 8027933: Add --const-as-var option
Reviewed-by: jlaskey, hannesw
2014-05-02 19:15:59 +05:30
Matherey Nunez
e9e18d5614 8038398: OptimisticRecompilationTest fails on staging repo nashorn/jdk9/nashorn due to test framework
Reviewed-by: attila, lagergren
2014-04-29 16:00:53 +02:00
Marcus Lagergren
a3f88441db 8041995: Problems when loading tree expressions with several optimistic program points when optimistically initializing ObjectNodes
Reviewed-by: jlaskey, attila
2014-04-28 16:37:36 +02:00
Hannes Wallnöfer
60a0f257df 8040078: Avoid repeated reading of source for cached loads
Reviewed-by: jlaskey, lagergren
2014-04-25 16:34:17 +02:00
Marcus Lagergren
6163a42a8e 8033105: Make sure Nashorn test harness can run zlib benchmark
Reviewed-by: attila, hannesw
2014-04-22 14:09:46 +02:00
Matherey Nunez
af27b4200d 8040655: When processing a RewriteException debug object, the return value has already been reset to null. We need to catch this value before that
Reviewed-by: attila, lagergren
2014-04-18 21:24:34 +02:00
Marcus Lagergren
89f65d6006 8040089: Apply to call transform was incomplete. Now passes all tests and performance is back
Reviewed-by: hannesw, attila, sundar, jlaskey
2014-04-17 20:01:19 +02:00
Marcus Lagergren
e83ae85105 Merge 2014-04-11 16:52:56 +02:00
Marcus Lagergren
8692f48723 8039746: Transform applies to calls wherever possible, for ScriptFunctions and JSObjects
Reviewed-by: hannesw, attila, sundar, jlaskey
2014-04-11 16:52:14 +02:00
Attila Szegedi
67871d3371 8040024: BranchOptimizer produces bad code for NaN FP comparison
Reviewed-by: jlaskey, lagergren
2014-04-11 16:40:06 +02:00
Marcus Lagergren
d12e5e7d29 8039044: Expand undefined intrinsics for all commutative combinators of scrict undefined checks
Reviewed-by: jlaskey, hannesw
2014-04-02 10:52:39 +02:00
Marcus Lagergren
fd8e5653a0 8038945: Simplify strict undefined checks
Reviewed-by: jlaskey, hannesw
2014-04-01 16:12:38 +02:00
Marcus Lagergren
1584dc799c 8038799: Guard and unbox boxed primitives types on setting them in Properties to avoid megamorphisism
Reviewed-by: attila, jlaskey
2014-04-01 11:19:32 +02:00
Marcus Lagergren
379d9f239f 8027043: Turn global accesses into MethodHandle.constant, with one chance of reassignment, e.g. x = value occuring once in the global scope is ok, twice is not
Reviewed-by: attila, sundar, jlaskey
2014-03-31 14:13:34 +02:00
Marcus Lagergren
f6722c9a3f 8038406: Testability: as a first step of moving loggers away from the process global space, the Debug object now supports logging POJOs from log entries as an event queue, which can be introspected from test scripts. This is way better than screen scraping brittle and subject-to-change log output
Reviewed-by: attila, hannesw, sundar
2014-03-27 11:45:54 +01:00
Attila Szegedi
0cbec476dd 8037534: Use scope types to determine optimistic types
Reviewed-by: hannesw, lagergren
2014-03-24 18:41:06 +01:00
Attila Szegedi
85bc811235 Merge 2014-03-21 17:52:03 +01:00
Matherey Nunez
ba6fce6273 8036986: Test should check that correctly type is returned running with optimistic. If optimistic assumption was wrong we should get the right one
This uses the inspection framework for generated code to ensure optimisim.

Reviewed-by: attila, lagergren
2014-03-14 14:27:32 +01:00
Athijegannathan Sundararajan
572d581262 8015958: DataView constructor is not defined
Reviewed-by: attila, hannesw, lagergren
2014-03-13 15:58:24 +05:30
Hannes Wallnöfer
6f1436baa2 8034055: delete on global object not properly guarded
Reviewed-by: sundar, lagergren
2014-03-12 16:33:28 +01:00
Marcus Lagergren
8d4fc394e0 8035836: Array performance improvements
Implement typed arrays with native byte buffers and do fast linking for all continuous arrays

Reviewed-by: attila, jlaskey, sundar, hannesw
2014-03-03 11:24:44 +01:00
Attila Szegedi
e9e7dd2ec1 8035820: Optimistic recompilation
Co-authored-by: Marcus Lagergren <marcus.lagergren@oracle.com>
Reviewed-by: hannesw, jlaskey, sundar
2014-02-26 13:17:57 +01:00
Athijegannathan Sundararajan
18489cc7a4 8030197: Nashorn: Object.defineProperty() can be lured to change fixed NaN property
Reviewed-by: attila, jlaskey
2014-02-25 18:56:10 +05:30
Hannes Wallnöfer
2194adb36b 8030200: Wrong result for Number.prototype.toString() for certain radix/inputs
Reviewed-by: sundar, jlaskey, lagergren
2014-04-14 17:45:05 +02:00
Hannes Wallnöfer
08bec4bee8 8030199: Nashorn: Uint8ClampedArray - Incorrect ToUint8Clamp implementation
Reviewed-by: sundar, jlaskey, lagergren
2014-04-14 17:43:38 +02:00
Athijegannathan Sundararajan
319aa4c4c5 8039387: Nashorn supports indexed access of List elements, but length property is not supported
Reviewed-by: lagergren, jlaskey
2014-04-07 21:57:33 +05:30
Athijegannathan Sundararajan
79fba7993d 8039047: Parser accepts conditional catch clauses even when --no-syntax-extensions / -nse option is passed
Reviewed-by: lagergren, attila
2014-04-02 15:52:31 +05:30
Athijegannathan Sundararajan
4036a466ca 8037562: Nashorn: JSON.parse comes up with nonexistent entries if there are gaps between the keys
Reviewed-by: jlaskey, hannesw
2014-03-21 20:24:01 +05:30
Athijegannathan Sundararajan
1dd97ac6e7 8011964: need indexed access to externally-managed ByteBuffer
Reviewed-by: lagergren, hannesw
2014-02-14 19:02:02 +05:30
Matherey Nunez
615623c473 8033231: test fails with java.lang.UnsatisfiedLinkError
Reviewed-by: attila, sundar
2014-02-11 12:05:22 +01:00
Athijegannathan Sundararajan
118cf2ba60 8033924: Default permissions are not given for eval code
Reviewed-by: lagergren, jlaskey
2014-02-07 18:47:46 +05:30
Athijegannathan Sundararajan
3dd998447a 8033763: Add tests to assert map identity of certain objects
Reviewed-by: hannesw, lagergren
2014-02-06 17:44:37 +05:30
Attila Szegedi
281b87b796 8032681: Issues with Nashorn
Reviewed-by: ahgross, jlaskey, sundar
2014-01-30 20:13:27 +01:00
Athijegannathan Sundararajan
6d897ac7a8 8032954: Nashorn: extend Java.extend
Reviewed-by: jlaskey, attila, ahgross
2014-01-30 18:49:47 +05:30
Athijegannathan Sundararajan
3d9115510c 8032943: Improve reflection in Nashorn
Reviewed-by: jlaskey, attila, ahgross
2014-01-30 18:26:15 +05:30
Athijegannathan Sundararajan
86a64a99fd 8032068: implement @sourceURL and #sourceURL directives
Reviewed-by: hannesw, lagergren
2014-01-20 19:51:54 +05:30
Athijegannathan Sundararajan
961103778f 8032060: PropertyMap of Error objects is not stable
Reviewed-by: jlaskey, hannesw
2014-01-17 20:09:47 +05:30
Athijegannathan Sundararajan
bb600b7978 8032004: instance property "message" of Error objects should be non-enumerable
Reviewed-by: hannesw, jlaskey
2014-01-16 22:50:53 +05:30
Athijegannathan Sundararajan
9ce7db11e3 8031983: Error objects should capture stack at the constructor
Reviewed-by: jlaskey, hannesw
2014-01-16 21:26:21 +05:30
Athijegannathan Sundararajan
d7d8810466 8031715: Indexed access to java package not working
Reviewed-by: lagergren, hannesw
2014-01-15 14:51:49 +05:30
Athijegannathan Sundararajan
dffad236b0 Merge 2014-01-14 14:18:24 +05:30
Athijegannathan Sundararajan
305de05b44 8031359: Invocable.getInterface() works incorrectly if interface has default methods
Reviewed-by: attila, hannesw
2014-01-09 19:23:34 +05:30
Athijegannathan Sundararajan
9304f8da29 8031317: SyntaxError when property setter has no parameter
Reviewed-by: lagergren, hannesw
2014-01-08 17:51:47 +05:30
Hannes Wallnöfer
5071b80944 8029667: Prototype linking is incorrect
Reviewed-by: jlaskey, sundar
2014-01-07 14:16:23 +01:00
Athijegannathan Sundararajan
ab0a342a89 8031106: Nashorn: IndexOutOfBoundsException in NashornCallSiteDescriptor.getNameToken()
Reviewed-by: hannesw, jlaskey
2014-01-03 10:09:48 +05:30
Athijegannathan Sundararajan
1b8c152090 8030809: Anonymous functions should not be shown with internal names in script stack trace
Reviewed-by: lagergren, hannesw, jlaskey
2013-12-19 21:53:27 +05:30
Athijegannathan Sundararajan
1bef37e215 8030182: scopeCall with -1 as line number
Reviewed-by: hannesw, jlaskey
2013-12-16 23:25:50 +05:30
Athijegannathan Sundararajan
53293af78c 8030169: Need regression test for bug JDK-8010731
Reviewed-by: attila, lagergren
2013-12-16 18:32:50 +05:30
Athijegannathan Sundararajan
662abf1039 8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
Markdown test fix contributed by kshefov

Reviewed-by: jlaskey
2013-12-12 19:02:43 +05:30
Marcus Lagergren
c502f1025e 8029780: "ant externals" broke our test harness with the latest version of the octane benchmarks
Reviewed-by: attila, sundar
2013-12-11 18:09:34 +01:00
Attila Szegedi
7f26a099d0 8029467: Widening of booleans causes bad results
Reviewed-by: jlaskey, lagergren
2013-12-09 10:52:05 +01:00
Athijegannathan Sundararajan
31006e8d33 8029364: NashornException to expose thrown object
Reviewed-by: lagergren, jlaskey
2013-12-02 18:19:26 +05:30
Athijegannathan Sundararajan
f066af3fe8 Merge 2013-11-22 08:52:45 +05:30
Marcus Lagergren
ea4af3f2f1 8028573: Line number nodes were off for while nodes and do while nodes - the line number of a loop node should be treated as the location of the test expression
Reviewed-by: attila, hannesw
2013-11-19 10:29:32 +01:00
Marcus Lagergren
19fd00c362 8028434: Line number nodes were off for while nodes and do while nodes - the line number of a loop node should be treated as the location of the test expression
Reviewed-by: jlaskey, sundar
2013-11-18 16:35:39 +01:00
Hannes Wallnöfer
1eafa03759 8028210: Missing conversions on array index expression
Reviewed-by: attila, jlaskey, lagergren
2013-11-16 00:23:46 +01:00
Attila Szegedi
0e9bb40372 8028020: Function parameter as last expression in comma in return value causes bad type calculation
Reviewed-by: jlaskey, lagergren, sundar
2013-11-11 14:25:01 +01:00
Athijegannathan Sundararajan
3b4737a6ba 8027828: ClassCastException when converting return value of a Java method to boolean
Reviewed-by: jlaskey, attila
2013-11-07 17:26:46 +05:30
Athijegannathan Sundararajan
d3e3eead18 8027753: Support ScriptObject to JSObject, ScriptObjectMirror, Map, Bindings auto-conversion as well as explicit wrap, unwrap
Reviewed-by: jlaskey, hannesw, attila
2013-11-04 18:52:22 +05:30
Athijegannathan Sundararajan
700852f48f Merge 2013-11-12 10:23:42 +05:30
Athijegannathan Sundararajan
69eda12c17 Merge 2013-11-07 18:11:12 +05:30
Konstantin Shefov
f78f47b98d 8027708: NASHORN TEST: Create Nashorn test that draws image step-by-step using JavaFX canvas
Reviewed-by: jlaskey, lagergren
2013-11-05 13:09:40 +04:00
Athijegannathan Sundararajan
bd1eb169db Merge 2013-11-05 09:13:41 +05:30
Athijegannathan Sundararajan
54465cea72 Merge 2013-11-04 09:29:12 +05:30
Attila Szegedi
80f2daae7b 8027236: Ensure ScriptObject and ConsString aren't visible to Java
Reviewed-by: lagergren, sundar
2013-11-01 15:36:33 +01:00
Athijegannathan Sundararajan
1dbd6b1855 8027700: function redeclaration checks missing for declaration binding instantiation
Reviewed-by: jlaskey, lagergren
2013-11-01 19:54:48 +05:30
Athijegannathan Sundararajan
b0dc1b345a Merge 2013-10-31 12:50:17 +05:30
Athijegannathan Sundararajan
e6599626c5 8027562: eval should load second and subsequent arguments for side effect
Reviewed-by: jlaskey, lagergren
2013-10-30 20:09:44 +05:30
Jim Laskey
bd41e14c13 Merge 2013-10-29 10:40:00 -03:00
Hannes Wallnöfer
3ed1d150a5 8027042: Evaluation order for binary operators can be improved
Reviewed-by: lagergren, jlaskey, attila
2013-10-25 10:20:49 +02:00
Athijegannathan Sundararajan
5184202107 Merge 2013-10-23 20:21:23 +05:30
Athijegannathan Sundararajan
3e7ce096f9 8027128: jdk.nashorn.api.scripting.JSObject should be an interface
Reviewed-by: hannesw, attila, jlaskey
2013-10-23 17:30:13 +05:30
Athijegannathan Sundararajan
471045eb80 Merge 2013-10-22 17:47:56 +05:30
Athijegannathan Sundararajan
0206687c1a 8027024: String.prototype.charAt and charCodeAt do not evaluate 'self' and 'pos' arguments in right order
Reviewed-by: jlaskey, attila, lagergren
2013-10-22 17:38:12 +05:30
Hannes Wallnöfer
06b32d6fcb 8026955: for-in should convert primitive values to object
Reviewed-by: jlaskey, lagergren
2013-10-22 11:31:03 +02:00
Hannes Wallnöfer
405f2da127 8027015: AutoCloseable no longer implements @FunctionalInterface
Reviewed-by: lagergren, sundar
2013-10-22 11:12:36 +02:00
Athijegannathan Sundararajan
fbb9a966b6 8027016: Array.prototype.indexOf should return -1 when array is of length zero
Reviewed-by: lagergren, attila
2013-10-22 14:27:52 +05:30
Konstantin Shefov
7adddc6d26 8026871: NASHORN TEST: Enable possibility to test Nashorn use of JavaFX canvas
Reviewed-by: jlaskey, sundar
2013-10-21 13:31:03 +04:00
Hannes Wallnöfer
ef6f8003c8 8026858: Array length does not handle defined properties correctly
Reviewed-by: jlaskey
2013-10-18 22:42:41 +02:00
Hannes Wallnöfer
660aab2c4d 8026805: Array.prototype.length doesn't work as expected
Reviewed-by: sundar, lagergren
2013-10-18 12:50:21 +02:00
Hannes Wallnöfer
d681100033 8026701: Array.prototype.splice is slow on dense arrays
Reviewed-by: lagergren, sundar, jlaskey
2013-10-17 17:33:16 +02:00
Attila Szegedi
34ad8867bc 8026161: Don't narrow floating-point literals in the lexer
Reviewed-by: hannesw, jlaskey
2013-10-17 12:38:50 +02:00
Hannes Wallnöfer
d22bf99ead 8026693: getType() called on DISCARD node
Reviewed-by: sundar, lagergren
2013-10-16 10:15:55 +02:00
Hannes Wallnöfer
d41ff60568 8026692: eval() throws NullPointerException with --compile-only
Reviewed-by: sundar, lagergren
2013-10-16 10:12:22 +02:00
James Laskey
4ea77e0979 8026498: Revert: latest runsunspider.js tests contains several bugs
Reviewed-by: sundar, hannesw
2013-10-15 13:14:04 -03:00
Hannes Wallnöfer
fd29d64bfd 8026367: Add a sync keyword to mozilla_compat
Reviewed-by: sundar, attila, lagergren
2013-10-15 17:37:47 +02:00
Hannes Wallnöfer
3c50f75173 8026016: too many relinks dominate avatar.js http benchmark
Reviewed-by: sundar, jlaskey, attila
2013-10-14 11:45:15 +02:00
James Laskey
e0df3515ce 8026309: latest runsunspider.js tests contains several bugs
Reviewed-by: sundar, lagergren
2013-10-11 14:54:16 +02:00
Athijegannathan Sundararajan
76d698bbf8 8026317: $ in the function name results in wrong function being invoked
Reviewed-by: lagergren, jlaskey
2013-10-11 14:11:14 +02:00
Athijegannathan Sundararajan
a71c4a5390 8026302: source representation of getter and setter methods is wrong
Reviewed-by: lagergren, hannesw, jlaskey
2013-10-11 11:15:59 +02:00
Hannes Wallnöfer
02625b48e3 8026292: Megamorphic setter fails with boolean value
Reviewed-by: jlaskey, sundar
2013-10-11 10:56:08 +02:00
Athijegannathan Sundararajan
36d36b2eda 8026263: [NASHORN] Test test/script/basic/JDK-8025488.js fails in nightly builds
Reviewed-by: jlaskey
2013-10-11 06:50:06 +02:00
Athijegannathan Sundararajan
66bb0d28fa 8026264: Getter, setter function name mangling issues
Reviewed-by: lagergren, jlaskey
2013-10-10 21:43:35 +02:00
Athijegannathan Sundararajan
a577bf4154 8026162: "this" in SAM adapter functions is wrong
Reviewed-by: jlaskey, hannesw
2013-10-10 14:43:22 +02:00
Athijegannathan Sundararajan
8cf4738031 8026248: importClass has to be a varargs function
Reviewed-by: jlaskey, hannesw
2013-10-10 13:17:57 +02:00
Athijegannathan Sundararajan
d5dda0a437 8026167: Class cache/reuse of 'eval' scripts results in ClassCastException in some cases
Reviewed-by: lagergren, jlaskey
2013-10-10 11:48:56 +02:00
Marcus Lagergren
16ce875fc6 8026137: Fix Issues with Binary Evaluation Order
Co-authored-by: Attila Szegedi <attila.szegedi@oracle.com>
Reviewed-by: hannesw, jlaskey
2013-10-09 17:53:22 +02:00
Hannes Wallnöfer
3ef5f027ce 8026008: Constant folding removes var statement
Reviewed-by: sundar, jlaskey
2013-10-09 14:50:39 +02:00
Athijegannathan Sundararajan
a7261c57e0 8026125: Array.prototype.slice.call(Java.type("java.util.HashMap")) throws ClassCastException: jdk.internal.dynalink.beans.StaticClass cannot be cast to jdk.nashorn.internal.runtime.ScriptObject
Reviewed-by: hannesw, jlaskey
2013-10-09 13:26:23 +02:00
Athijegannathan Sundararajan
1ed2372816 8026112: Function("with(x ? 1e81 : (x2.constructor = 0.1)){}") throws AssertionError: double is not compatible with object
Reviewed-by: lagergren, hannesw
2013-10-09 10:47:47 +02:00
Athijegannathan Sundararajan
c257318ccc 8026048: Function constructor should convert arguments to String before performing any syntax checks
Reviewed-by: jlaskey, hannesw
2013-10-08 16:46:03 +02:00
Hannes Wallnöfer
90e3c6f95e 8026042: FoldConstants need to guard against ArrayLiteralNode
Reviewed-by: jlaskey, sundar
2013-10-08 15:53:22 +02:00
Athijegannathan Sundararajan
21a8fda433 8026039: future strict names are allowed as function name and argument name of a strict function
Reviewed-by: hannesw, jlaskey
2013-10-08 14:57:31 +02:00
Athijegannathan Sundararajan
d77e1a1701 8026033: Switch should load expression even when there are no cases in it
Reviewed-by: jlaskey, hannesw
2013-10-08 13:02:39 +02:00
Hannes Wallnöfer
3d45463461 8025213: Assignment marks variable as defined too early
Reviewed-by: jlaskey, lagergren, sundar
2013-10-08 11:55:19 +02:00
Athijegannathan Sundararajan
be135d2901 8025771: Enhance Nashorn Contexts
Reviewed-by: jlaskey, hannesw
2013-10-04 16:21:29 +05:30
Athijegannathan Sundararajan
04d4458ef8 8025488: Error.captureStackTrace should not format error stack
Reviewed-by: hannesw, attila
2013-10-01 14:38:56 +05:30
Athijegannathan Sundararajan
5c16d54797 8025629: load function should support a way to load scripts from classpath
Reviewed-by: lagergren, hannesw, attila
2013-09-30 21:33:38 +05:30
Hannes Wallnöfer
c9fc9b4c9c 8025589: Array.prototype.shift should only copy defined elements in generic mode
Reviewed-by: sundar, attila
2013-09-30 15:54:05 +02:00
Hannes Wallnöfer
bf815f12fa 8025520: Array.prototype.slice should only copy defined elements
Reviewed-by: sundar, lagergren
2013-09-27 17:00:37 +02:00
Hannes Wallnöfer
1240bd8a48 8025515: Performance issues with Source.getLine()
Reviewed-by: sundar, lagergren
2013-09-27 16:59:01 +02:00
Hannes Wallnöfer
2e8063226d 8025486: RegExp constructor arguments are not evaluated in right order
Reviewed-by: sundar
2013-09-26 11:47:24 +02:00
Hannes Wallnöfer
abc7352b43 8025197: String replace method fails with regexp /$/gi
Reviewed-by: sundar
2013-09-26 10:14:24 +02:00
Hannes Wallnöfer
0414dcb01d 8025434: RegExp lastIndex can exceed int range
Reviewed-by: lagergren, sundar
2013-09-25 16:37:56 +02:00
Athijegannathan Sundararajan
f8d5db06b9 8025325: parseFloat does not handle '.' in exponent part
Reviewed-by: hannesw
2013-09-25 08:17:37 +05:30
Athijegannathan Sundararajan
93c8cbec9c 8025312: parseInt should convert 'radix' argument to ToInt32 even if empty string is parsed
Reviewed-by: jlaskey, hannesw
2013-09-24 20:43:42 +05:30
Hannes Wallnöfer
1508b37a51 8025163: Date methods should not return -0
Reviewed-by: lagergren, jlaskey
2013-09-21 10:11:15 +02:00
Athijegannathan Sundararajan
e259f89913 8025149: JSON.stringify does not handle 'space' argument as per the spec
Reviewed-by: jlaskey, hannesw
2013-09-20 22:37:08 +05:30
Athijegannathan Sundararajan
f996a92b3b 8025147: Trailing comma is not allowed in JSONArray and JSONObject
Reviewed-by: hannesw, jlaskey
2013-09-20 20:55:43 +05:30
Athijegannathan Sundararajan
337cfe593f 8025111: undefined or null 'with' expression in empty with block should throw TypeError
Reviewed-by: lagergren, hannesw
2013-09-20 12:56:07 +05:30
Athijegannathan Sundararajan
996bf0feef 8025090: 'while' statement with 'test' using var before being declared in body results in VerifyError
Reviewed-by: jlaskey
2013-09-19 23:48:37 +05:30
Athijegannathan Sundararajan
d6f64ae009 8025080: Object literal getter, setter function with number format property name results in ClassFormatError
Reviewed-by: lagergren, hannesw
2013-09-19 21:20:47 +05:30
Athijegannathan Sundararajan
c2859f0bca 8025048: true as case label results in ClassCastException
Reviewed-by: lagergren
2013-09-19 13:34:01 +05:30
Athijegannathan Sundararajan
8f90571322 8024973: Using a different ScriptContext with a CompiledScript results in ScriptException
Reviewed-by: jlaskey, hannesw
2013-09-18 16:36:25 +05:30
Athijegannathan Sundararajan
e287ff4ec9 8024972: for (LeftHandSideExpression in Expression) crashes the compiler
Reviewed-by: lagergren, hannesw
2013-09-18 13:06:17 +05:30
Attila Szegedi
5ddc447fc5 8024846: keep separate internal arguments variable
Reviewed-by: lagergren, sundar
2013-09-16 14:44:20 +02:00
Athijegannathan Sundararajan
aea57c9e6f 8024847: Java.to should accept mirror and external JSObjects as array-like objects as well
Reviewed-by: hannesw, attila, lagergren
2013-09-16 15:08:36 +05:30
Athijegannathan Sundararajan
8c226a6210 8024619: JDBC java.sql.DriverManager is not usable from JS script
Reviewed-by: jlaskey, lagergren, attila
2013-09-13 16:45:11 +05:30
Athijegannathan Sundararajan
a122ebe169 8024693: Various minor issues with JSONWriter used by script parser API
Reviewed-by: jlaskey, hannesw
2013-09-12 22:16:40 +05:30
Hannes Wallnöfer
58b4892936 8024512: Regex /[^\[]/ doesn't match
Reviewed-by: jlaskey, sundar
2013-09-12 17:13:59 +02:00
Athijegannathan Sundararajan
0b67400c6f 8024180: Incorrect handling of expression and parent scope in 'with' statements
Reviewed-by: jlaskey, hannesw
2013-09-09 20:10:41 +05:30
Athijegannathan Sundararajan
6311d28032 8024255: When a keyword is used as object property name, the property can not be deleted
Reviewed-by: jlaskey, lagergren
2013-09-05 21:17:06 +05:30
Athijegannathan Sundararajan
747b74ce5e 8024174: Setting __proto__ property in Object literal should be supported
Reviewed-by: jlaskey, lagergren
2013-09-04 19:58:16 +05:30
Athijegannathan Sundararajan
1268ef5430 8024120: Setting __proto__ to null removes the __proto__ property
Reviewed-by: lagergren, attila
2013-09-04 14:29:07 +05:30
Athijegannathan Sundararajan
f5d9acd819 8023784: Object.prototype.toString should contain the class name for all instances
Reviewed-by: lagergren, jlaskey
2013-08-27 18:57:50 +05:30