Commit Graph

500 Commits

Author SHA1 Message Date
Sergey Lugovoy
b04e423d8d 8055811: Tests for Nashorn ClassFilter Support
Reviewed-by: sundar, attila
2014-08-26 13:26:15 +04:00
Attila Szegedi
4aeaccdf69 8055870: iteration fails if index var is not used
Reviewed-by: hannesw, lagergren
2014-08-25 22:36:05 +02:00
Athijegannathan Sundararajan
ed9b4d01ec 8055899: Two nashorn tests fail in 8u40 nightly build with ClassNotFoundException
Reviewed-by: jlaskey, lagergren
2014-08-25 20:26:53 +05:30
Athijegannathan Sundararajan
cb277efc44 8055830: JDK-8015969.js is silently failing
Reviewed-by: lagergren, jlaskey, hannesw
2014-08-22 22:50:38 +05:30
Athijegannathan Sundararajan
9700f06b1b 8055796: JSObject and browser JSObject linkers should provide fallback to call underlying Java methods directly
Reviewed-by: attila, hannesw
2014-08-22 15:47:28 +05:30
Athijegannathan Sundararajan
017d321931 8055762: Nashorn misses linker for netscape.javascript.JSObject instances
Reviewed-by: lagergren, jlaskey
2014-08-21 20:06:48 +05:30
Athijegannathan Sundararajan
eadc8dbe75 8055687: Wrong "this" passed to JSObject.eval call
Reviewed-by: lagergren, hannesw, attila
2014-08-20 21:32:09 +05:30
Athijegannathan Sundararajan
16bef5aa2a 8050078: Nashorn ClassFilter Support
Reviewed-by: lagergren, hannesw
2014-08-20 20:04:19 +05:30
Attila Szegedi
9227b18d8a 8055199: Tidy up Nashorn codebase for code standards (August 2014)
Reviewed-by: hannesw, lagergren
2014-08-15 17:30:49 +02:00
Athijegannathan Sundararajan
983051a456 8055139: test/script/trusted/JDK-8055107.js fails with access control exception
Reviewed-by: lagergren, attila, jlaskey
2014-08-14 20:14:54 +05:30
Athijegannathan Sundararajan
62e846549d 8055107: Extension directives to turn on callsite profiling, tracing, AST print and other debug features locally
Reviewed-by: attila, jlaskey
2014-08-14 18:54:54 +05:30
Athijegannathan Sundararajan
a98a0d19e1 8055034: jjs exits interactive mode if exception was thrown when trying to print value of last evaluated expression
Reviewed-by: jlaskey, attila
2014-08-13 21:03:37 +05:30
Athijegannathan Sundararajan
f2ebff72ba 8054993: type info cache may be disabled for test262 and tests explicitly changing that property should use @fork
Reviewed-by: lagergren, hannesw
2014-08-13 15:00:24 +05:30
Hannes Wallnöfer
f71b48d575 8044851: nashorn properties leak memory
Reviewed-by: attila, jlaskey, lagergren
2014-08-12 13:22:05 +02:00
Athijegannathan Sundararajan
a603833464 8054503: test/script/external/test262/test/suite/ch12/12.6/12.6.4/12.6.4-2.js fails with tip
Reviewed-by: jlaskey, hannesw, attila
2014-08-11 20:35:21 +05:30
Hannes Wallnöfer
a8ece5cffc 8043956: Make code caching work with optimistic typing and lazy compilation
Reviewed-by: attila, lagergren
2014-08-08 12:50:46 +02:00
Attila Szegedi
9d38762126 8046026: CompiledFunction.relinkComposableInvoker assert is being hit
Reviewed-by: hannesw, jlaskey, sundar
2014-08-07 11:06:45 +02:00
Athijegannathan Sundararajan
cf32cd8ae4 8053910: ScriptObjectMirror causing havoc with Invocation interface
Reviewed-by: jlaskey, attila, hannesw
2014-08-06 22:11:12 +05:30
Attila Szegedi
5d2615f1cb 8051439: Wrong type calculated for ADD operator with undefined operand
Reviewed-by: jlaskey, sundar
2014-08-06 11:02:14 +02:00
Attila Szegedi
1eb6e5cb42 8044786: Some tests fail with non-optimistic compilation
Reviewed-by: hannesw, jlaskey
2014-08-06 10:42:46 +02:00
Athijegannathan Sundararajan
578ec9d11e 8054223: Nashorn: AssertionError when use __DIR__ and ScriptEngine.eval()
Reviewed-by: lagergren, hannesw
2014-08-04 21:37:45 +05:30
Athijegannathan Sundararajan
a55d1b4b75 8053908: jdeps is not PATH on Mac, results in ant clean test failure on Mac
Reviewed-by: hannesw, jlaskey
2014-07-31 18:14:46 +05:30
Sergey Lugovoy
ce3b922118 8049318: Test hideLocationProperties.js fails on Window due to backslash in path
Reviewed-by: lagergren, sundar
2014-07-30 16:49:02 +04:00
Marcus Lagergren
5c93b19922 8048869: Reduce compile time by about 5% by removing the Class.casts from the AST nodes
Removed the native casts that slow down the compiler unnecessarily. I also modified the compile-octane harness so that it can run with --verbose and --iterations flags so that you can run the compiler for an arbitrary time, gathering a mission control executing profile.

Reviewed-by: attila, jlaskey
2014-07-29 14:21:45 -07:00
Lev Priima
a27f5c073f 8051019: Separate src and test execution sandbox directories
Reviewed-by: jlaskey
2014-07-18 16:53:17 +05:30
Athijegannathan Sundararajan
4323d2ade5 8050964: OptimisticTypesPersistence.java should use java.util.Date instead of java.sql.Date
Reviewed-by: jlaskey
2014-07-17 16:47:06 +05:30
Athijegannathan Sundararajan
8a77a443db 8050432: javax.script.filename variable should not be enumerable with nashorn engine's ENGINE_SCOPE bindings
Reviewed-by: jlaskey
2014-07-15 16:54:01 +05:30
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
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
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
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
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