Attila Szegedi
91e5fbd2e0
8021189: Prevent access to constructors of restricted classes
...
Reviewed-by: lagergren, sundar
2013-07-24 11:13:24 +02:00
Attila Szegedi
947610257d
8021129: Use public lookup again
...
Reviewed-by: lagergren, sundar
2013-07-23 18:28:58 +02:00
Athijegannathan Sundararajan
e2975f94c6
8021122: Not all callables are handled for toString and other function valued properties
...
Reviewed-by: attila, hannesw, jlaskey
2013-07-23 18:17:25 +05:30
Attila Szegedi
566991e98e
8020820: Limit access to static members of reflective classes
...
Reviewed-by: jlaskey, sundar
2013-07-18 16:47:45 +02:00
Attila Szegedi
3a0f1e0653
8020809: Java adapter should not allow overriding of caller sensitive methods
...
Reviewed-by: jlaskey, sundar
2013-07-18 16:22:25 +02:00
Hannes Wallnöfer
c4bea48ac1
8020356: ClassCastException Undefined->Scope on spiltter class generated for a large switch statement
...
Reviewed-by: jlaskey, attila
2013-07-17 18:20:40 +02:00
Attila Szegedi
f6a5b67f14
8015356: array concatenation should skip empty elements
...
Reviewed-by: jlaskey, sundar
2013-07-16 17:03:30 +02:00
Attila Szegedi
e85e4fb319
8020357: throw RangeError for too large NativeArrayBuffer size
...
Reviewed-by: jlaskey, hannesw, sundar
2013-07-16 15:28:33 +02:00
Hannes Wallnöfer
6055fea677
8020358: Array(0xfffffff) throws OutOfMemoryError
...
Reviewed-by: jlaskey, sundar
2013-07-15 18:32:23 +02:00
Attila Szegedi
84e8d48fb4
8020508: Enforce reflection access restrictions on Object.bindProperties
...
Reviewed-by: jlaskey, sundar
2013-07-15 16:31:49 +02:00
Hannes Wallnöfer
40b8f5d48c
8020354: Object literal property initialization is not done in source order
...
Reviewed-by: sundar, jlaskey
2013-07-15 15:51:06 +02:00
Attila Szegedi
e11a9b1d07
8020324: Implement Object.bindProperties(target, source) for beans
...
Reviewed-by: hannesw, sundar
2013-07-15 12:33:48 +02:00
Athijegannathan Sundararajan
b8081def9f
8020463: Input argument array wrapping in loadWithNewGlobal is wrong
...
Reviewed-by: attila, jlaskey
2013-07-12 20:06:41 +05:30
Attila Szegedi
533439278e
8019822: Duplicate name and signature in finally block
...
Reviewed-by: jlaskey, sundar
2013-07-12 11:58:42 +02:00
Athijegannathan Sundararajan
eaed291ba6
8020223: ClassCastException: String can not be casted to ScriptFunction
...
Reviewed-by: attila, lagergren
2013-07-12 15:27:16 +05:30
Athijegannathan Sundararajan
4972fea316
8020437: Wrong handling of line numbers with multiline string literals
...
Reviewed-by: attila, lagergren
2013-07-12 15:01:33 +05:30
Athijegannathan Sundararajan
380db28df8
8012191: noSuchProperty can't cope with vararg functions
...
Reviewed-by: jlaskey, attila
2013-07-11 22:58:37 +05:30
Attila Szegedi
4eb5c9e3a4
8013925: Remove symbol fields from nodes that don't need them
...
Reviewed-by: jlaskey, lagergren
2013-07-11 18:33:33 +02:00
Athijegannathan Sundararajan
80f5124f23
8020380: __noSuchProperty__ defined in mozilla_compat.js script should be non-enumerable
...
Reviewed-by: jlaskey, hannesw, attila
2013-07-11 18:23:13 +05:30
Athijegannathan Sundararajan
f0144d9d93
8020325: static property does not work on accessible, public classes
...
Reviewed-by: attila, hannesw, lagergren
2013-07-11 16:34:55 +05:30
Athijegannathan Sundararajan
48c4649f17
8020276: interface checks in Invocable.getInterface implementation
...
Reviewed-by: jlaskey, hannesw, attila
2013-07-10 19:08:04 +05:30
Hannes Wallnöfer
652b020905
8016681: regex capture behaves differently than on V8
...
Reviewed-by: lagergren, sundar
2013-07-10 10:54:19 +02:00
Athijegannathan Sundararajan
41c47ddf53
8020224: LinkageError: attempted duplicate class definition when --loader-per-compiler=false
...
Reviewed-by: hannesw
2013-07-10 13:25:07 +05:30
Marcus Lagergren
cfbe70e223
8020124: In the case of an eval switch, we might need explicit conversions of the tag store, as it was not known in the surrounding environment
...
Reviewed-by: sundar, jlaskey
2013-07-09 15:56:59 +02:00
Athijegannathan Sundararajan
8854b24a30
8014785: Ability to extend global instance by binding properties of another object
...
Reviewed-by: attila, hannesw, jlaskey, lagergren
2013-07-09 17:37:46 +05:30
Attila Szegedi
3e0c71b6c1
8009758: reactivate the 8006529 test
...
Reviewed-by: jlaskey, sundar
2013-07-09 13:57:24 +02:00
Hannes Wallnöfer
4e011cfb8c
8019963: empty char range in regex
...
Reviewed-by: jlaskey, sundar
2013-07-08 19:34:55 +02:00
Marcus Lagergren
fa6c5ef45f
8019983: Void returns combined with return with expression picked the wrong return type
...
Reviewed-by: sundar, jlaskey
2013-07-05 19:35:39 +02:00
Attila Szegedi
dbe76b28bd
8019819: scope symbol didn't get a slot in certain cases
...
Reviewed-by: hannesw, jlaskey, lagergren, sundar
2013-07-05 15:10:47 +02:00
Hannes Wallnöfer
8f092c733a
8017084: Use spill properties for large object literals
...
Reviewed-by: lagergren, sundar
2013-07-05 14:36:54 +02:00
Athijegannathan Sundararajan
1853f28ab3
8019947: inherited property invalidation does not work with two globals in same context
...
Reviewed-by: jlaskey, lagergren, hannesw, attila
2013-07-05 14:38:04 +05:30
Marcus Lagergren
7426b8de5c
Merge
2013-07-04 17:28:04 +02:00
Marcus Lagergren
0807ef3638
8019821: allInteger switches were confused by boolean cases, as they are a narrower type than int
...
Reviewed-by: sundar, hannesw
2013-07-04 17:27:33 +02:00
Attila Szegedi
f495ca639c
8019809: return after break incorrectly sets the block as terminal
...
Reviewed-by: jlaskey, lagergren
2013-07-04 14:10:18 +02:00
Attila Szegedi
75501c6993
8017768: allow dot as inner class name separator for Java.type
...
Reviewed-by: jlaskey, sundar
2013-07-03 18:10:12 +02:00
Athijegannathan Sundararajan
1e6e9dc0c6
8019814: Add regression test for passing cases
...
Reviewed-by: jlaskey, lagergren
2013-07-03 19:20:29 +05:30
Marcus Lagergren
047d1b732f
8019811: Static calls - self referential functions needed a return type conversion if they were specialized, as they can't use the same mechanism as indy calls
...
Reviewed-by: sundar, jlaskey
2013-07-03 15:46:03 +02:00
Athijegannathan Sundararajan
72a7034a41
8019805: for each (init; test; modify) is invalid
...
Reviewed-by: lagergren, jlaskey
2013-07-03 17:26:31 +05:30
Marcus Lagergren
62fb002570
8019585: Sometimes a var declaration using itself in its init wasn't declared as canBeUndefined, causing erroneous bytecode
...
Reviewed-by: sundar, attila
2013-07-03 13:03:36 +02:00
Attila Szegedi
92bcfea39a
8010946: AccessControl.doPrivileged is broken when called from js script
...
Reviewed-by: jlaskey, sundar
2013-07-03 12:39:28 +02:00
Athijegannathan Sundararajan
6dfb638284
8019791: ~ is a unary operator
...
Reviewed-by: hannesw
2013-07-03 14:08:00 +05:30
Athijegannathan Sundararajan
5ccee02c35
8019783: typeof does not work properly for java methods and foreign objects
...
Reviewed-by: hannesw
2013-07-03 13:13:17 +05:30
Athijegannathan Sundararajan
22b6014ba6
8019629: void operator should always evaluate to undefined
...
Reviewed-by: jlaskey
2013-07-03 00:08:45 +05:30
Marcus Lagergren
53a84f9d41
Merge
2013-07-02 15:01:38 +02:00
Marcus Lagergren
8ff9291b05
8017082: Long array literals were slightly broken
...
Reviewed-by: sundar, attila
2013-07-02 14:50:39 +02:00
Athijegannathan Sundararajan
f05a001210
8019553: NPE on illegal l-value for increment and decrement
...
Reviewed-by: jlaskey, attila, lagergren
2013-07-02 18:00:15 +05:30
Marcus Lagergren
518a9bf3d0
8016667: Wrong bytecode when testing/setting due to null check shortcut checking against primitive too
...
Reviewed-by: jlaskey, sundar
2013-07-02 13:50:19 +02:00
Athijegannathan Sundararajan
f743fb3852
8019508: Comma handling in object literal parsing is wrong
...
Reviewed-by: hannesw
2013-07-01 23:36:40 +05:30
Athijegannathan Sundararajan
c6b0514112
8019488: switch on literals result in NoSuchMethodError or VerifyError
...
Reviewed-by: hannesw
2013-07-01 19:52:07 +05:30
Athijegannathan Sundararajan
135ccaceef
8019482: Number("0x0.0p0") should evaluate to NaN
...
Reviewed-by: lagergren
2013-07-01 17:21:09 +05:30
Athijegannathan Sundararajan
1a074a8b66
8019478: Object.prototype.toString.call(/a/.exec("a")) === "[object Array]" should be true
...
Reviewed-by: hannesw
2013-07-01 14:15:07 +05:30
Athijegannathan Sundararajan
1a0fc187f4
8019473: Parser issues related to functions and blocks
...
Reviewed-by: lagergren
2013-07-01 12:38:01 +05:30
Athijegannathan Sundararajan
0eb7f23c99
8019365: Error stack format
...
Reviewed-by: hannesw
2013-06-28 19:36:26 +05:30
Athijegannathan Sundararajan
a089899deb
8019226: line number not generated for first statement if it is on the same function declaration line
...
Reviewed-by: jlaskey, hannesw
2013-06-27 13:24:50 +05:30
Athijegannathan Sundararajan
ee8b3bd823
8014781: support Error.captureStackTrace
...
Reviewed-by: jlaskey, hannesw
2013-06-26 19:42:17 +05:30
Athijegannathan Sundararajan
f4695eca85
8017950: error.stack should be a string rather than an array
...
Reviewed-by: hannesw, jlaskey
2013-06-26 16:36:13 +05:30
Athijegannathan Sundararajan
249d0ae5b4
8015969: Needs to enforce and document that global "context" and "engine" can't be modified when running via jsr223
...
Reviewed-by: hannesw, jlaskey
2013-06-25 17:31:19 +05:30
Athijegannathan Sundararajan
02e0b5c3f1
8015959: Can't call foreign constructor
...
Reviewed-by: jlaskey, hannesw
2013-06-24 19:06:01 +05:30
James Laskey
2aad633d9b
8017448: JDK-8010732.js.EXPECTED truncated
...
Reviewed-by: sundar
2013-06-22 10:12:19 -03:00
James Laskey
86ff93e544
8010732: BigDecimal, BigInteger and Long handling in nashorn
...
Reviewed-by: sundar
2013-06-21 14:34:00 -03:00
Athijegannathan Sundararajan
9e05183200
8017046: Cannot assign undefined to a function argument if the function uses arguments object
...
Reviewed-by: hannesw
2013-06-20 13:45:38 +05:30
Athijegannathan Sundararajan
1d927dd28e
8015347: Parsing issue with decodeURIComponent
...
Reviewed-by: jlaskey, hannesw
2013-06-19 21:07:59 +05:30
James Laskey
d643a2fcd7
8010697: DeletedArrayFilter seems to leak memory
...
Reviewed-by: hannesw, sundar
2013-06-19 09:10:49 -03:00
Athijegannathan Sundararajan
93241c0ecb
8012698: [nashorn] tests fail to run with agentvm or samevm
...
Reviewed-by: hannesw, jlaskey
2013-06-18 18:43:05 +05:30
Athijegannathan Sundararajan
135319a5f0
8016550: nashorn.option.no.syntax.extensions has the wrong default
...
Reviewed-by: hannesw, lagergren
2013-06-17 13:56:05 +05:30
Athijegannathan Sundararajan
835f3c4de0
8016618: script mirror object access should be improved
...
Reviewed-by: jlaskey, lagergren
2013-06-14 21:16:14 +05:30
Marcus Lagergren
f74c3ecd82
8016235: Use in catch block that may not have been executed in try block caused illegal byte code to be generated
...
Reviewed-by: jlaskey, hannesw
2013-06-14 13:53:40 +02:00
Hannes Wallnöfer
2904cada12
8016542
: String.prototype.replace called with function argument should not replace $ patterns
...
Reviewed-by: lagergren, jlaskey
2013-06-13 20:50:24 +02:00
Hannes Wallnöfer
f2751c93e8
8016528: Hex code from escape() should be padded
...
Reviewed-by: jlaskey, lagergren
2013-06-13 15:26:49 +02:00
Hannes Wallnöfer
bd1ee81a66
8016522: Numeric literal must not be followed by IdentifierStart
...
Reviewed-by: lagergren, sundar
2013-06-13 14:02:43 +02:00
Hannes Wallnöfer
96b4d172c0
8016518: Parsing of octal string escapes is broken
...
Reviewed-by: sundar, lagergren
2013-06-13 12:52:09 +02:00
Athijegannathan Sundararajan
6a09a3934e
8015355: Array.prototype functions don't honour non-writable length and / or index properties
...
Reviewed-by: lagergren, hannesw
2013-06-13 16:08:35 +05:30
Hannes Wallnöfer
0f3e8001de
8011893: JS Object builtin prototype is not thread safe
...
Reviewed-by: sundar, jlaskey
2013-06-12 16:41:38 +02:00
Athijegannathan Sundararajan
83aedc7fdd
8015357: a = []; a[0x7fffffff]=1; a.sort()[0] should evaluate to 1 instead of undefined
...
Reviewed-by: hannesw, lagergren
2013-06-11 13:09:43 +05:30
Athijegannathan Sundararajan
be9816a81e
8016239: loadWithNewGlobal should support user supplied arguments from the caller
...
Reviewed-by: lagergren, attila, jlaskey
2013-06-10 19:54:07 +05:30
Marcus Lagergren
2d2e7fe029
8016226: backing out test without third party license approval
...
Reviewed-by: attila, sundar
2013-06-10 13:27:07 +02:00
Marcus Lagergren
ce8819512f
8015892: canBeUndefined too conservative for some use before declaration cases
...
Reviewed-by: attila, hannesw
2013-06-10 13:21:29 +02:00
Hannes Wallnöfer
2bc5557936
8012291: NativeArray is inconsistent in using long for length and index in some places and int for the same in other places
...
Reviewed-by: lagergren, jlaskey
2013-06-07 17:44:25 +02:00
Athijegannathan Sundararajan
769aac6d4a
8015346: JSON parsing issues with escaped strings, octal, decimal numbers
...
Reviewed-by: hannesw, jlaskey
2013-06-06 21:41:20 +05:30
Hannes Wallnöfer
008916124b
8015350: Array.prototype.reduceRight issue with large length and index
...
Reviewed-by: attila, sundar, lagergren
2013-06-05 12:44:24 +02:00
Athijegannathan Sundararajan
1e63ac571c
8015945: loadWithNewGlobal return value has to be properly wrapped
...
Reviewed-by: lagergren, hannesw
2013-06-05 12:08:49 +05:30
Athijegannathan Sundararajan
7ee2adb4d7
8015830: Javascript mapping of ScriptEngine bindings does not expose keys
...
Reviewed-by: jlaskey, lagergren
2013-06-04 22:31:48 +05:30
Athijegannathan Sundararajan
5817f439ab
8015855: test/script/basic/JDK-8012164.js fails on Windows
...
Reviewed-by: hannesw, lagergren, jlaskey
2013-06-04 17:33:14 +05:30
James Laskey
b7ee1a873e
8015741: Need a global.load function that starts with a new global scope
...
Reviewed-by: sundar, lagergren
2013-06-03 08:34:29 -03:00
Athijegannathan Sundararajan
49c5af63c9
8015345: Function("}),print('test'),({") should throw SyntaxError
...
Reviewed-by: lagergren, hannesw, jlaskey
2013-06-03 15:58:14 +05:30
Athijegannathan Sundararajan
a48b38238f
8012164: Error.stack needs trimming
...
Reviewed-by: lagergren, jlaskey
2013-05-31 17:39:12 +05:30
Athijegannathan Sundararajan
91a299799e
8015353: Date.parse illegal string parsing issues
...
Reviewed-by: jlaskey, lagergren
2013-05-30 16:49:46 +05:30
James Laskey
a3f6ca8aed
8015636: Add more typed arrays code coverage tests
...
Reviewed-by: sundar
2013-05-29 16:23:50 -03:00
Athijegannathan Sundararajan
4e5a976adf
8015349: "abc".lastIndexOf("a",-1) should evaluate to 0 and not -1
...
Reviewed-by: lagergren, attila, jlaskey
2013-05-29 21:27:10 +05:30
Marcus Lagergren
14cc2ba534
8011023: Math round didn't conform to ECMAScript 5 spec
...
Reviewed-by: jlaskey, attila
2013-05-29 14:08:00 +02:00
Marcus Lagergren
d1cfaae2c6
8015447: Octane harness fixes for rhino and entire test runs: ant octane, ant octane-v8, ant octane-rhino
...
Reviewed-by: sundar, jlaskey
2013-05-27 17:57:07 +02:00
Athijegannathan Sundararajan
bca9af88da
8015352: "i".toUpperCase() => currently returns "İ", but should be "I" (with Turkish locale)
...
Reviewed-by: jlaskey, lagergren
2013-05-27 20:41:34 +05:30
Marcus Lagergren
1dfb4bf18e
Merge
2013-05-27 13:12:11 +02:00
Marcus Lagergren
a34fd412c5
8014219: Make the run-octane harness more deterministic by not measuring elapsed time every iteration. Also got rid of most of the run logic in base.js and call benchmarks directly for the same purpose
...
Reviewed-by: jlaskey, attila
2013-05-27 13:11:13 +02:00
Hannes Wallnöfer
6e76fe0cf2
8015348: RegExp("[") results in StackOverflowError
...
Reviewed-by: sundar, attila
2013-05-27 12:26:39 +02:00
Athijegannathan Sundararajan
f86162c90c
8015354: JSON.parse should not use [[Put]] but use [[DefineOwnProperty]] instead
...
Reviewed-by: lagergren, hannesw
2013-05-24 18:39:25 +05:30
Marcus Lagergren
f9d1d0f538
8012083: Array literal constant folding issue
...
Reviewed-by: attila, jlaskey
2013-05-23 13:10:58 +02:00
Attila Szegedi
dd837d94dd
8015267: Allow conversion of JS arrays to Java List/Deque
...
Reviewed-by: lagergren, sundar
2013-05-23 12:01:35 +02:00
Hannes Wallnöfer
aab1e4573c
8010804: Review long and integer usage conventions
...
Reviewed-by: jlaskey, sundar
2013-05-22 16:43:48 +02:00
Athijegannathan Sundararajan
2cd9f2dde4
8014735: Typed Array, BYTES_PER_ELEMENT should be a class property
...
Reviewed-by: lagergren, jlaskey
2013-05-22 19:33:08 +05:30
Attila Szegedi
1a3b9278eb
8014953: Have NativeJavaPackage throw a ClassNotFoundException when invoked
...
Reviewed-by: jlaskey, sundar
2013-05-21 13:40:12 +02:00
Attila Szegedi
34bc5ff07f
8014797: rename Java.toJavaArray/toJavaScriptArray to Java.to/from, respectively
...
Reviewed-by: jlaskey, sundar
2013-05-20 21:25:14 +02:00
Marcus Lagergren
cc79bd1237
8006069: Range analysis first iteration, runtime specializations
...
Reviewed-by: jlaskey, sundar
2013-05-20 16:38:38 +02:00
Konstantin Shefov
e0fcb74c7e
8014823: Reprise - Smoke test fail: Windows JDK-8008554.js - access denied ("java.io.FilePermission" "//C/aurora/sandbox/nashorn~source/test/script/basic/NASHORN-99.js" "read")
...
Reviewed-by: jlaskey
2013-05-17 16:44:22 -03:00
Hannes Wallnöfer
2c97733af0
8012359: Increase code coverage in Joni
...
Reviewed-by: jlaskey, lagergren
2013-05-16 19:52:39 +02:00
Marcus Lagergren
aeda283b75
8013919: Original exception no longer thrown away when a finally rethrows
...
Reviewed-by: jlaskey, sundar
2013-05-16 13:44:25 +02:00
Athijegannathan Sundararajan
6e91576480
8009141: Avoid netscape.javascript.JSObject in nashorn code
...
Reviewed-by: lagergren, hannesw
2013-05-16 14:52:48 +05:30
Attila Szegedi
18bdc5fd42
8014647: Allow class-based overrides to be initialized with a ScriptFunction
...
Reviewed-by: hannesw, jlaskey, sundar
2013-05-15 20:21:59 +02:00
James Laskey
e5be7a02ea
8014648: Exclude testing and infrastructure packages from code coverage, round two
...
Reviewed-by: sundar
2013-05-15 12:09:38 -03:00
Athijegannathan Sundararajan
8bbf3e9b52
8012305: Function.bind can't be called on prototype function inside constructor
...
Reviewed-by: lagergren, attila
2013-05-15 19:45:16 +05:30
Marcus Lagergren
41f972c2ed
8014426: Original exception no longer thrown away when a finally rethrows
...
Reviewed-by: attila, jlaskey
2013-05-14 19:56:35 +02:00
Attila Szegedi
ca08772ec8
8011718: binding already bound function with extra arguments fails
...
Reviewed-by: jlaskey, sundar
2013-05-14 19:18:17 +02:00
Attila Szegedi
52d2511fed
8014225: Rerun only failed 262 tests
...
Reviewed-by: jlaskey, lagergren
2013-05-08 16:48:33 +02:00
Marcus Lagergren
c668214703
8013914: Removed explicit LineNumberNodes that were too brittle when code moves around, and also introduced unnecessary footprint. Introduced the Statement node and fixed dead code elimination issues that were discovered by the absense of labels for LineNumberNodes
...
Reviewed-by: jlaskey, attila
2013-05-07 14:43:17 +02:00
Hannes Wallnöfer
5504a220f7
8013874: Function argument's prototype seem cached and wrongly reused
...
Reviewed-by: jlaskey
2013-05-03 22:50:51 +02:00
Hannes Wallnöfer
253e421ec5
8013873: Regexp regression for escaped dash in character class
...
Reviewed-by: jlaskey
2013-05-03 22:48:53 +02:00
Hannes Wallnöfer
973d656320
8013878: ClassCastException in Regex
...
Reviewed-by: jlaskey
2013-05-03 22:47:23 +02:00
Marcus Lagergren
6f6ec2d9d1
8013477: Node.setSymbol needs to be copy on write - enable IR snapshots for recompilation based on callsite type specialization. [not enabled by default, hidden by a flag for now]
...
Reviewed-by: jlaskey, hannesw
2013-05-03 15:33:54 +02:00
Hannes Wallnöfer
323a923236
8013729: SwitchPoint invalidation not working over prototype chain
...
Reviewed-by: lagergren, sundar
2013-05-02 09:19:44 +02:00
Marcus Lagergren
a2c222ef34
8013533: Increase code coverage report for types and logging
...
Reviewed-by: hannesw, sundar
2013-04-30 09:42:13 +02:00
Attila Szegedi
8c132a0300
8008814: Configurable ignore/warning/error behavior for function declaration as statement
...
Reviewed-by: jlaskey, sundar
2013-04-29 23:22:20 +02:00
Athijegannathan Sundararajan
56129142b0
8013444: JSON.parse does not invoke "reviver" callback as per spec
...
Reviewed-by: jlaskey, hannesw
2013-04-29 18:40:40 +05:30
Athijegannathan Sundararajan
b165a1a882
8013337: Issues with Date.prototype's get, set functions
...
Reviewed-by: jlaskey, hannesw, lagergren
2013-04-26 18:31:42 +05:30
Attila Szegedi
08a8593cd6
8013325: function named 'arguments' should set DEFINES_ARGUMENTS flag in its parent, not itself
...
Reviewed-by: hannesw, sundar
2013-04-26 09:20:37 +02:00
Athijegannathan Sundararajan
76c993b302
8013295: ScriptEngineTest.java fails with compilation error when running under jtreg
...
Reviewed-by: attila, hannesw
2013-04-26 12:17:11 +05:30
Attila Szegedi
dc20ce76ca
8013167: Vararg constructor not found
...
Reviewed-by: jlaskey, lagergren, sundar
2013-04-25 15:31:23 +02:00
Hannes Wallnöfer
1ac0e870a1
8013131: Various compatibility issues in String.prototype.split()
...
Reviewed-by: lagergren, jlaskey
2013-04-25 14:20:23 +02:00
Hannes Wallnöfer
512740c397
8008238: Labeled break in finally causes stack overflow in Node copy
...
Reviewed-by: lagergren, attila
2013-04-24 13:36:31 +02:00
Hannes Wallnöfer
48b0c0e8f3
8012931: NativeDate.safeToString() throws RangeError for invalid date
...
Reviewed-by: lagergren, attila
2013-04-24 13:34:22 +02:00
Hannes Wallnöfer
77d7f14b96
8012334: ToUint32, ToInt32, and ToUint16 don't conform to spec
...
Reviewed-by: lagergren, attila
2013-04-24 13:28:25 +02:00
Attila Szegedi
f5b57754c3
8011065: Problems when script implements an interface with variadic methods
...
Reviewed-by: jlaskey, hannesw, sundar
2013-04-23 12:52:29 +02:00
James Laskey
1334460008
8011578: -Dnashorn.unstable.relink.threshold=1 causes tests to fail
...
Reviewed-by: sundar, lagergren
2013-04-20 08:54:13 -03:00
Marcus Lagergren
fb7a325141
8010701: Immutable nodes - final iteration
...
Reviewed-by: sundar, hannesw, jlaskey
2013-04-19 16:11:16 +02:00
Hannes Wallnöfer
4239700710
8012460: RegExp regression
...
Reviewed-by: jlaskey, sundar
2013-04-18 14:25:45 +02:00
Athijegannathan Sundararajan
649b7e005b
8012462: Date.prototype.toJSON does not handle non-Date 'this' as per the spec
...
Reviewed-by: jlaskey, hannesw
2013-04-18 15:50:30 +05:30
Athijegannathan Sundararajan
49eb3c0de1
8012457: Function.prototype.apply should accept any array-like argument for function arguments
...
Reviewed-by: lagergren, jlaskey
2013-04-17 16:52:06 +05:30
Athijegannathan Sundararajan
a4bf4b9be6
8012240: Array.prototype.map.call({length: -1, get 0(){throw 0}}, function(){}).length does not throw error
...
Reviewed-by: lagergren, jlaskey
2013-04-15 20:12:50 +05:30
Hannes Wallnöfer
0e49b64b83
8011980: Allow NUL character in character class
...
Reviewed-by: sundar, lagergren
2013-04-11 12:16:39 +02:00
Athijegannathan Sundararajan
9170d68b5a
8011974: Comparator function returning negative and positive Infinity does not work as expected with Array.prototype.sort
...
Reviewed-by: hannesw, lagergren
2013-04-11 15:04:55 +05:30
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
Marcus Lagergren
7c466c84eb
8008199: Lazy compilation and trampoline implementation
...
The code pipeline now supports lazy compilation, which can be used to only compile certain FunctionNodes and leave others be, saving startup time. When these uncompiled nodes are hit, a trampoline will force them to be recompiled. This can also be used to specialize compilation fixing parameter types and return types to a callsite specific compilation. This will give performance.
Reviewed-by: attila, sundar
2013-02-14 13:01:52 +01:00
Athijegannathan Sundararajan
022533a749
8008197: Cross script engine function calls do not work as expected
...
Reviewed-by: lagergren, hannesw
2013-02-14 14:16:58 +05:30
Athijegannathan Sundararajan
ecc2be22e3
8008103: Source object should maintain URL of the script source as a private field
...
Reviewed-by: lagergren, jlaskey
2013-02-13 19:59:30 +05:30
Attila Szegedi
d50e3823e4
8007900: Function binding is inefficient
...
Reviewed-by: jlaskey, lagergren
2013-02-12 12:47:51 +01:00
Athijegannathan Sundararajan
1e1537c13f
8007915: Nashorn IR, codegen, parser packages and Context instance should be inaccessible to user code
...
Reviewed-by: lagergren, jlaskey, attila
2013-02-11 21:26:06 +05:30
Hannes Wallnöfer
f2dc010c16
8007718: Make static RegExp properties fully compatible to other engines
...
Reviewed-by: lagergren, sundar
2013-02-07 15:33:17 +01:00
Athijegannathan Sundararajan
b247ddfcc3
8007715: Make sure that not all tests run with AllPermission
...
Reviewed-by: lagergren, attila
2013-02-07 17:17:29 +05:30
James Laskey
57ef7ce075
8007643: Add testing for quit and exit
...
Reviewed-by: sundar
2013-02-06 12:51:09 -04:00
Athijegannathan Sundararajan
c95d492268
8007619: Add support for deprecated properties of RegExp constructor
...
Reviewed-by: lagergren, hannesw
2013-02-06 17:56:12 +05:30
Athijegannathan Sundararajan
292a819b53
8007523: VerifyError on script that uses regular expression literals with ternary operator
...
Reviewed-by: lagergren
2013-02-05 22:07:04 +05:30
Athijegannathan Sundararajan
ac9ca521ad
8007522: IllegalStateException thrown from String.prototype.search function
...
Reviewed-by: jlaskey
2013-02-05 21:00:04 +05:30