Commit Graph

307 Commits

Author SHA1 Message Date
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
Attila Szegedi
8bcbbe70de 8015693: reduce NodeLiteralNode to NullLiteralNode
Reviewed-by: jlaskey, lagergren
2013-05-31 12:56:56 +02:00
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
Athijegannathan Sundararajan
993430afb0 8005979: A lot of tests are named "runTest" in reports
Reviewed-by: jlaskey
2013-05-29 15:41:07 +05:30
Athijegannathan Sundararajan
d2583c8515 8015459: Octane test run fails on Turkish locale
Reviewed-by: lagergren, attila
2013-05-28 16:37:11 +05:30
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
5bf7dac8d7 8015351: Nashorn shell does not start with Turkish locale
Reviewed-by: jlaskey
2013-05-24 23:27:52 +05:30
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
Hannes Wallnöfer
cdf1276490 8011630: JSON parsing performance issue
Reviewed-by: lagergren, sundar
2013-05-24 13:54:18 +02:00
Marcus Lagergren
3111019493 8012522: Clean up lexical contexts - split out stack based functionality in CodeGenerator and generify NodeVisitors based on their LexicalContext type to avoid casts
Reviewed-by: attila, jlaskey
2013-05-23 15:51:08 +02:00
Jim Laskey
b0e8a8ad47 Merge 2013-05-23 09:49:03 -03:00
Attila Szegedi
75c3e853b4 8015278: Revert accidental changes to build.xml
Reviewed-by: jlaskey, lagergren
2013-05-23 13:36:49 +02:00
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
Lana Steuck
de0b212fa1 Merge 2013-05-22 09:59:15 -07: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
Athijegannathan Sundararajan
41974c2e07 8008947: ScriptEnvironment ctor should be public
Reviewed-by: lagergren, attila
2013-05-22 16:39:48 +05:30
James Laskey
9e9c04939b 8014827: readLine should accept a prompt as an argument
Reviewed-by: sundar, hannesw
2013-05-21 10:17:09 -03:00
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
Athijegannathan Sundararajan
32261c12b2 8014909: ant test compilation error with JoniTest.java
Reviewed-by: jlaskey
2013-05-20 23:04:01 +05:30
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
Lana Steuck
670660bae0 Merge 2013-05-17 10:14:03 -07:00
David Katleman
186eb231a8 Added tag jdk8-b90 for changeset 9757c7aa8f78 2013-05-16 12:16:16 -07: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
Attila Szegedi
a3e2765ce8 8014646: Update the Java interop documentation in the Java Scripting Programmer's Guide
Reviewed-by: jlaskey, hannesw, lagergren
2013-05-15 14:54:28 +02:00
Attila Szegedi
3710d6fcf6 8014639: Remove debug flag from test runs
Reviewed-by: hannesw, lagergren
2013-05-15 10:28:18 +02:00
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