Commit Graph

902 Commits

Author SHA1 Message Date
Athijegannathan Sundararajan
4048ec18f3 8049524: Global object initialization via javax.script API should be minimal
Reviewed-by: attila, hannesw
2014-07-08 16:30:42 +05:30
Athijegannathan Sundararajan
8159b11738 8044760: Avoid PropertyMap duplicate for global instances
Reviewed-by: attila, hannesw
2014-07-04 20:15:41 +05:30
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
ade82779ac 8047331: Assertion in CompiledFunction when running earley-boyer after Merge
Reviewed-by: hannesw, jlaskey
2014-07-03 17:14:38 +02:00
Attila Szegedi
d9cdc6efec 8047166: 'do with({}) break ; while(0);' crashes in CodeGenerator
Reviewed-by: hannesw, jlaskey
2014-07-03 16:15:33 +02:00
Attila Szegedi
c6dda4ed20 8049225: Source class exposes public mutable array
Reviewed-by: hannesw, sundar
2014-07-03 11:18:38 +02:00
Attila Szegedi
1377f6380e 8049223: RewriteException class exposes public mutable arrays
Reviewed-by: hannesw, sundar
2014-07-03 11:18:26 +02:00
Attila Szegedi
7620f47068 8049222: JSType class exposes public mutable arrays
Reviewed-by: hannesw, sundar
2014-07-03 11:18:10 +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
Lana Steuck
113a7f0c05 Merge 2014-07-01 14:27:28 -07:00
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
David Katleman
b078d4c58e Added tag jdk9-b20 for changeset 7fb8003ec760 2014-06-26 12:51:50 -07: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
Attila Szegedi
d983b0b09c 8048009: Type info caching accidentally defeated
Reviewed-by: hannesw, jlaskey
2014-06-24 19:29:41 +02:00
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
Hannes Wallnöfer
3ad3dd1d89 8046201: Avoid repeated flattening of nested ConsStrings
Reviewed-by: lagergren, attila
2014-06-23 18:32:11 +02:00
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
Lana Steuck
e6a9b34299 Merge 2014-06-20 10:14:50 -07:00
Attila Szegedi
f4c68a9cfc 8046921: Deoptimization type information peristence
Reviewed-by: hannesw, lagergren
2014-06-20 12:25:00 +02:00
David Katleman
2a9e69a4b6 Added tag jdk9-b19 for changeset a7c5ef3bb9d4 2014-06-19 11:22:50 -07: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
Lana Steuck
5ba4319c94 Merge 2014-06-18 10:54:57 -07:00
Lana Steuck
0eeff11878 Merge 2014-06-18 10:08:47 -07: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
Marcus Lagergren
ede81f43f7 8046898: Make sure that lazy compilation is the default, remove redundant "enable lazy compilation" flags, added warning message if compile logging is enabled and lazy is switched off. Verified existing test suite code coverage equivalence between lazy and eager
Reviewed-by: attila, hannesw
2014-06-17 11:37:03 +02:00
David Katleman
618ad4c940 Added tag jdk9-b18 for changeset 6ff236765d3b 2014-06-13 11:21:41 -07:00
Lana Steuck
3bedcfd62e Merge 2014-06-12 15:37:37 -07:00
David Katleman
324195d441 Added tag jdk9-b17 for changeset 681b70d49d8d 2014-06-12 10:32:44 -07:00
Jaroslav Tulach
9e1754581f 8044517: Run & debug single Nashorn test
Reviewed-by: lagergren, attila
2014-06-12 17:39:09 +05:30
Athijegannathan Sundararajan
5de5a29808 8044798: API for debugging Nashorn
Reviewed-by: jlaskey, hannesw
2014-06-11 08:53:35 +05:30
Attila Szegedi
9f8c1be305 8046025: AccessorProperty.getGetter is not threadsafe
Reviewed-by: jlaskey, lagergren
2014-06-09 16:00:06 +02:00
Hannes Wallnöfer
eab7ad0813 8046215: Running uncompilable scripts throws NullPointerException
Reviewed-by: sundar, jlaskey
2014-06-06 16:51:53 +02:00
Lana Steuck
250d670627 Merge 2014-06-05 19:38:45 -07:00
Attila Szegedi
6a2b656e1a 8044816: On-demand compiled top-level program doesn't need :createProgramFunction
Reviewed-by: jlaskey, lagergren, sundar
2014-06-05 12:16:09 +02:00
Attila Szegedi
ea992354d0 8046014: MultiGlobalCompiledScript should cache :createProgramFunction handle
Reviewed-by: lagergren, sundar
2014-06-05 12:15:45 +02:00
David Katleman
13cf13e341 Added tag jdk9-b16 for changeset e3b9d834796d 2014-06-04 20:20:44 -07:00
Attila Szegedi
fb404de88f 8038413: NPE in unboxInteger
Reviewed-by: jlaskey, sundar
2014-06-04 20:43:37 +02:00
Attila Szegedi
1fa7f152d3 8044803: Unnecessary restOf check
Reviewed-by: hannesw, jlaskey
2014-06-04 16:52:50 +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