Commit Graph

427 Commits

Author SHA1 Message Date
Attila Szegedi
a9b421dd42 8047067: all eval arguments need to be copied in Lower
Reviewed-by: lagergren, sundar
2014-07-08 13:13:31 +02:00
Athijegannathan Sundararajan
ca212c0d9e 8049086: Minor API convenience functions on "Java" object
Reviewed-by: attila, hannesw
2014-07-04 15:56:53 +05:30
Athijegannathan Sundararajan
14eb01cb47 8049242: Explicit constructor overload selection should work with StaticClass as well
Reviewed-by: jlaskey, attila
2014-07-03 23:03:37 +05:30
Attila Szegedi
d9cdc6efec 8047166: 'do with({}) break ; while(0);' crashes in CodeGenerator
Reviewed-by: hannesw, jlaskey
2014-07-03 16:15:33 +02:00
Athijegannathan Sundararajan
27ba0956b6 8043232: Index selection of overloaded java new constructors
Reviewed-by: attila, hannesw, jlaskey
2014-07-02 18:10:31 +05:30
Athijegannathan Sundararajan
81f8f93225 8047359: large string size RangeError should be thrown rather than reporting negative length
Reviewed-by: hannesw, attila
2014-07-01 17:37:39 +05:30
Hannes Wallnöfer
3e0fd99223 8048586: String concatenation with optimistic types is slow
Reviewed-by: lagergren, attila
2014-06-30 17:31:28 +02:00
Athijegannathan Sundararajan
51aad86e6b 8048718: JSON.parse('{"0":0, "64":0}') throws ArrayindexOutOfBoundsException
Reviewed-by: lagergren, hannesw, attila
2014-06-30 20:23:16 +05:30
Athijegannathan Sundararajan
4b428d5833 8046013: TypeError: Cannot apply "with" to non script object
Reviewed-by: lagergren, hannesw
2014-06-27 21:54:16 +05:30
Marcus Lagergren
8f69a3e4a8 8048505: ScriptingFunctions.readFully couldn't handle file names represented as ConsStrings
Reviewed-by: sundar, hannesw
2014-06-27 10:47:44 +02:00
Attila Szegedi
3168df50f5 8047371: local variable declaration in TypeEvaluator should use ScriptObject.addOwnProperty instead of .set
Reviewed-by: jlaskey, lagergren
2014-06-26 15:36:15 +02:00
Attila Szegedi
9dde0bfa35 8047357: More precise synthetic return + unreachable throw
Reviewed-by: lagergren, sundar
2014-06-26 13:12:32 +02:00
Hannes Wallnöfer
ccb4ecb339 8048079: Persistent code store is broken after optimistic types merge
Reviewed-by: sundar, jlaskey, attila
2014-06-25 14:36:24 +02:00
Athijegannathan Sundararajan
dee1364e7c 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
Reviewed-by: hannesw, jlaskey
2014-06-25 17:08:47 +05:30
Athijegannathan Sundararajan
566786aba6 8047959: bindings created for declarations in eval code are not mutable
Reviewed-by: jlaskey, attila
2014-06-24 19:43:44 +05:30
Athijegannathan Sundararajan
90b667d865 8047728: (function(x){var o={x:0}; with(o){delete x} return o.x})() evaluates to 0 instead of undefined
Reviewed-by: jlaskey, hannesw, attila
2014-06-23 21:23:53 +05:30
Attila Szegedi
7aa808a993 8046905: apply on apply is broken
Reviewed-by: hannesw, lagergren
2014-06-23 10:59:33 +02:00
Attila Szegedi
f4c68a9cfc 8046921: Deoptimization type information peristence
Reviewed-by: hannesw, lagergren
2014-06-20 12:25:00 +02:00
Athijegannathan Sundararajan
2bdfb1233c 8047369: Add regression tests for passing test cases of JDK-8024971
Reviewed-by: hannesw, jlaskey
2014-06-19 20:36:03 +05:30
Marcus Lagergren
18ac28e76f 8047078: Fuzzing bug discovered when ArrayLiteralNodes weren't immutable
Reviewed-by: attila, sundar
2014-06-19 10:46:31 +02:00
Athijegannathan Sundararajan
186990579d 8047057: Add a regression test for the passing test cases from JDK-8042304
Reviewed-by: lagergren, attila
2014-06-17 18:23:35 +05:30
Athijegannathan Sundararajan
ff164ddca5 8047035: (function() "hello")() crashes in Lexer with jdk9
Reviewed-by: lagergren, hannesw, attila
2014-06-17 15:55:39 +05:30
Athijegannathan Sundararajan
5de5a29808 8044798: API for debugging Nashorn
Reviewed-by: jlaskey, hannesw
2014-06-11 08:53:35 +05:30
Attila Szegedi
fb404de88f 8038413: NPE in unboxInteger
Reviewed-by: jlaskey, sundar
2014-06-04 20:43:37 +02:00
Athijegannathan Sundararajan
a5af8cb53e 8044695: __stack__ becomes visible in Error properties
Reviewed-by: lagergren, jlaskey, attila
2014-06-04 19:01:24 +05:30
Attila Szegedi
52ac2452d0 8044502: Get rid of global optimistic flag
Reviewed-by: lagergren, sundar
2014-06-04 14:32:23 +02:00
Attila Szegedi
5ec014a881 8044638: Tidy up Nashorn codebase for code standards
Reviewed-by: lagergren, sundar
2014-06-04 13:08:57 +02:00
Athijegannathan Sundararajan
7898fee89e 8044750: megamorphic getter for scope objects does not call __noSuchProperty__ hook
Reviewed-by: attila, lagergren, hannesw
2014-06-04 13:55:21 +05:30
Attila Szegedi
52e0363faa 8044534: Constant folding for unary + should produce int for boolean literals
Reviewed-by: lagergren, sundar
2014-06-03 12:05:42 +02:00
Attila Szegedi
938ab83ff7 8044533: Deoptimizing negation produces wrong result for zero
Reviewed-by: lagergren, sundar
2014-06-03 12:04:36 +02:00
Athijegannathan Sundararajan
dba2bf3f02 8044520: Nashorn cannot execute node.js's express module
Reviewed-by: hannesw, lagergren
2014-06-03 14:13:03 +05:30
Athijegannathan Sundararajan
95ad9113d9 8044612: StringIndexOutOfBoundException in NativeRegExp.appendReplacement
Reviewed-by: hannesw, lagergren
2014-06-03 13:57:52 +05:30
Attila Szegedi
2ff2ad2750 Merge 2014-06-02 17:36:43 +02:00
Attila Szegedi
9fb4c3accc Merge 2014-05-28 16:53:43 +02:00
Marcus Lagergren
d4287c2288 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
Reviewed-by: attila, sundar
2014-05-28 13:58:46 +02:00
Marcus Lagergren
a6e90a4ba3 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
Reviewed-by: jlaskey, sundar
2014-05-27 21:25:07 +02:00
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