Commit Graph

348 Commits

Author SHA1 Message Date
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
James Laskey
1e7b1f36e4 8019175: Simplify ScriptObject.modifyOwnProperty
Reviewed-by: hannesw
2013-06-26 12:38:35 -03:00
Athijegannathan Sundararajan
ee8b3bd823 8014781: support Error.captureStackTrace
Reviewed-by: jlaskey, hannesw
2013-06-26 19:42:17 +05:30
Hannes Wallnöfer
70383eb20a 8019157: Avoid calling ScriptObject.setProto() if possible
Reviewed-by: jlaskey, sundar
2013-06-26 15:40:52 +02:00
James Laskey
e628bb4979 8008458: Strict functions dont share property map
Reviewed-by: sundar, hannesw
2013-06-26 08:36:53 -03:00
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
6f8f3be8c3 8017260: adjust lookup code in objects.* classes
Reviewed-by: hannesw, jlaskey
2013-06-21 16:55:18 +05:30
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
8f55a0b00b 8008915: URLReader constructor should allow specifying encoding
Reviewed-by: hannesw, lagergren
2013-06-18 13:45:03 +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
James Laskey
11462f8b0e 8016453: loadWithNewGlobal does not allow apply operation
Reviewed-by: hannesw, sundar
2013-06-12 11:22:06 -03:00
Hannes Wallnöfer
526f21a95e 8015379: PropertyMap.addProperty() is slow
Reviewed-by: attila, jlaskey
2013-06-11 17:50:10 +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
James Laskey
6b7b9e67e2 8015910: Nashorn JavaFX includes are out of sync with JavaFX repo
Reviewed-by: sundar
2013-06-05 12:41:09 -03:00
James Laskey
a0707f358d 8015911: $EXEC does not handle large outputs
Reviewed-by: sundar, attila
2013-06-05 10:32:50 -03:00
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
Attila Szegedi
03ee3a979c 8015961: Several small code-gardening fixes
Reviewed-by: lagergren, sundar
2013-06-05 12:17:10 +02:00
Attila Szegedi
c5540744e7 8015955: ObjectNode.elements should be stronger typed
Reviewed-by: lagergren, sundar
2013-06-05 10:44:32 +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
fcf3353ddf 8015814: loadWithNewGlobal needs to wrap createGlobal in AccessController.doPrivileged
Reviewed-by: sundar
2013-06-03 12:57:53 -03:00
James Laskey
b73369b1fe 8015796: Race condition in RuntimeCallsites
Reviewed-by: lagergren, attila
2013-06-03 11:16:33 -03:00
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
James Laskey
4cfdae2e46 8015727: Thread safe print function
Reviewed-by: sundar
2013-05-31 13:04:55 -03:00
Athijegannathan Sundararajan
a48b38238f 8012164: Error.stack needs trimming
Reviewed-by: lagergren, jlaskey
2013-05-31 17:39:12 +05:30
Attila Szegedi
c6404425ec 8015673: Type for :e symbol is wrong
Reviewed-by: jlaskey, lagergren
2013-05-31 12:58:02 +02:00
Attila Szegedi
102a06fdef 8015674: CodeGenerator.initSymbols mutates a list
Reviewed-by: jlaskey, lagergren
2013-05-31 12:57:44 +02:00
Attila Szegedi
9617ee41ca 8015684: FieldObjectCreator.putField ignores getValueType
Reviewed-by: jlaskey, lagergren
2013-05-31 12:57:25 +02:00