995 Commits

Author SHA1 Message Date
Chris Hegarty
57d4d0207b Merge 2014-08-18 10:59:40 +01:00
Chris Hegarty
5fe51a5b71 8054834: Modular Source Code
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Reviewed-by: alanb, chegar, ihse, mduigou
2014-08-17 15:56:32 +01:00
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
Attila Szegedi
dbb42efd61 8055042: Compile-time expression evaluator was missing variables
Reviewed-by: jlaskey, lagergren
2014-08-14 14:35:44 +02:00
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
20607aa6c3 8054898: Avoid creation of empty type info files
Reviewed-by: attila, sundar, jlaskey
2014-08-12 13:23:47 +02:00
Hannes Wallnöfer
f71b48d575 8044851: nashorn properties leak memory
Reviewed-by: attila, jlaskey, lagergren
2014-08-12 13:22:05 +02:00
Lana Steuck
25ce52548d Merge 2014-08-11 10:07:15 -07: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
Lana Steuck
d4142068b2 Added tag jdk9-b26 for changeset e60692e4f736 2014-08-10 19:39:07 -07:00
Lana Steuck
051ebee267 Added tag jdk9-b26 for changeset a64f0cd60e66 2014-08-09 21:27:44 -07:00
Athijegannathan Sundararajan
3b73e95849 8054651: Global.initConstructor and ScriptFunction.getPrototype(Object) can have stricter types
Reviewed-by: attila, jlaskey, hannesw
2014-08-08 19:07:17 +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
Athijegannathan Sundararajan
35c5f0ad5d 8051346: Test262 tests for ECMAScript 5 now in branch "es5-tests"
Reviewed-by: attila, hannesw
2014-08-07 19:19:46 +05:30
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
3dc86bb834 8054411: Add nashorn.args.prepend system property
Reviewed-by: hannesw, jlaskey
2014-08-06 11:54:50 +02:00
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
Lana Steuck
15e6c25a6a Merge 2014-08-04 15:34:57 -07: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
Tim Bell
48710812cb Added tag jdk9-b25 for changeset 064db4f56d0d 2014-08-01 14:09:25 -07:00
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
Lana Steuck
3640bd0029 Merge 2014-07-30 11:49:28 -07:00
Attila Szegedi
d8c8841e2a 8051839: GuardedInvocation needs to clone an argument
Reviewed-by: hannesw, sundar
2014-07-30 10:06:42 -07:00
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
99e23fa4ab 8053913: Auto format caused warning in CompositeTypeBasedGuardingDynamicLinker
Reviewed-by: attila, jlaskey
2014-07-29 14:35:24 -07: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
Tim Bell
0e56704088 Added tag jdk9-b24 for changeset abe2821cc591 2014-07-25 15:38:12 -07:00
Lana Steuck
ad9ca4fb43 Merge 2014-07-22 11:55:03 -07:00
Lana Steuck
3bc1beed81 Merge 2014-07-18 08:25:35 -07:00
Lev Priima
a27f5c073f 8051019: Separate src and test execution sandbox directories
Reviewed-by: jlaskey
2014-07-18 16:53:17 +05:30
David Katleman
aff3d74cb4 Added tag jdk9-b23 for changeset 000e5d36d0e3 2014-07-17 09:50:46 -07:00
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
Lana Steuck
f03bea190f Merge 2014-07-10 12:41:23 -07:00
David Katleman
e0d3041a71 Added tag jdk9-b22 for changeset aa64bc1a97d9 2014-07-10 12:13:37 -07:00
Lana Steuck
5ce4626e1a Merge 2014-07-09 10:41:34 -07:00
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
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
David Katleman
75ac0ce693 Added tag jdk9-b21 for changeset e4ffc9bab6f2 2014-07-03 11:37:57 -07:00
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