895 Commits

Author SHA1 Message Date
Attila Szegedi
96747306e2 8079424: code generator for discarded boolean logical operation has an extra pop
Reviewed-by: lagergren, sundar
2015-05-15 10:19:37 +02:00
Attila Szegedi
0f400ba879 8067931: Improve error message when with statement is passed a POJO
Reviewed-by: lagergren, sundar
2015-05-13 09:38:59 -05:00
Athijegannathan Sundararajan
c8dc03d400 8080182: Array.prototype.sort throws IAE on inconsistent comparison
Reviewed-by: lagergren, hannesw
2015-05-13 12:45:14 +05:30
Athijegannathan Sundararajan
ee03c0e102 8080090: -d option should dump script source as well
Reviewed-by: hannesw, lagergren
2015-05-12 12:40:33 +05:30
Athijegannathan Sundararajan
fd0591c105 8080042: can't build nashorn.jar from jdk9-dev/nashorn using jdk8 installation as JAVA_HOME
Reviewed-by: lagergren, jlaskey
2015-05-11 22:57:24 +05:30
Attila Szegedi
3ac44fdc58 8066751: Remove casts redundant with Java 9 buffer APIs
Reviewed-by: hannesw, sundar
2015-05-06 16:48:31 +02:00
Athijegannathan Sundararajan
b9fbd2d32d 8079470: Misleading error message when explicit signature constructor is called with wrong arguments
Reviewed-by: jlaskey, hannesw
2015-05-06 20:04:42 +05:30
Hannes Wallnöfer
a2301acb62 8066237: Fuzzing bug: Parser error on optimistic recompilation
Reviewed-by: lagergren, attila
2015-05-06 16:22:22 +02:00
Attila Szegedi
421b276f85 8079362: Enforce best practices for Node token API usage
Reviewed-by: hannesw, sundar
2015-05-06 15:46:54 +02:00
Attila Szegedi
79086bc842 8079349: Eliminate dead code around Nashorn code generator
Reviewed-by: hannesw, lagergren
2015-05-06 13:36:42 +02:00
Attila Szegedi
dbcd4aef5f 8079269: Optimistic rewrite in object literal causes ArrayIndexOutOfBoundsException
Reviewed-by: hannesw, lagergren
2015-05-05 18:35:29 +02:00
Hannes Wallnöfer
08e8a63ab5 8078612: Persistent code cache should support more configurations
Reviewed-by: lagergren, attila
2015-05-05 14:30:00 +02:00
Hannes Wallnöfer
b3fa231c01 8078049: Nashorn crashes when attempting to start TypeScript compiler
Reviewed-by: lagergren, attila
2015-05-05 14:23:43 +02:00
Hannes Wallnöfer
c8634327e8 8053905: Eager code generation fails for earley boyer with split threshold set to 1000
Reviewed-by: attila, lagergren
2015-04-27 12:50:21 +02:00
Hannes Wallnöfer
9becc306ef 8066407: Function with same body not reparsed after SyntaxError
Reviewed-by: attila, lagergren
2015-04-27 12:27:33 +02:00
Hannes Wallnöfer
a000d5154a 8077955: Undeclared globals in eval code should not be handled as fast scope
Reviewed-by: lagergren, attila
2015-04-16 17:31:32 +02:00
Hannes Wallnöfer
2cbce413a0 8067215: Disable dual fields when not using optimistic types
Reviewed-by: attila, lagergren
2015-04-10 14:18:31 +02:00
Hannes Wallnöfer
0f4227cfde 8075231: Typed array setters are very slow when index exceeds capacity
Reviewed-by: attila, lagergren
2015-03-26 22:13:41 +01:00
Hannes Wallnöfer
c74264d675 8075366: Slow scope access to global let/const does not work
Reviewed-by: sundar, attila, lagergren
2015-03-26 21:39:25 +01:00
Hannes Wallnöfer
9454c8c825 8073868: Regex matching causes java.lang.ArrayIndexOutOfBoundsException: 64
Reviewed-by: attila, lagergren
2015-03-25 17:43:55 +01:00
Hannes Wallnöfer
268d8ef7a6 8075927: toNumber(String) accepts illegal characters
Reviewed-by: attila, sundar
2015-03-25 14:41:47 +01:00
Athijegannathan Sundararajan
de784d82f1 8012190: Global scope should be initialized lazily
Reviewed-by: lagergren, hannesw, attila
2015-03-25 14:36:22 +05:30
Athijegannathan Sundararajan
0803c08355 8074410: Startup time: Port shell.js to Java
Reviewed-by: lagergren, hannesw
2015-03-24 13:59:31 +05:30
James Laskey
bc29dd414c 8075623: Temporary patch to get fx imports working interim
Reviewed-by: lagergren
2015-03-23 09:04:59 -03:00
Athijegannathan Sundararajan
2d6a39e2e5 8075604: jjs exits even when non-daemon threads are still active
Reviewed-by: attila, jlaskey
2015-03-20 20:04:18 +05:30
Athijegannathan Sundararajan
898bf9b590 8075454: Anonymous functions have internal names exposed via parser API
Reviewed-by: hannesw, lagergren
2015-03-18 23:14:12 +05:30
Athijegannathan Sundararajan
f75ee76af6 8075448: nashorn parser API returns init variable tree object of a for loop after for loop statement tree object
Reviewed-by: lagergren, hannesw, attila
2015-03-18 21:54:58 +05:30
Attila Szegedi
74e2514b51 8075223: revert multithreaded deoptimizing compilation livelock prevention
Reviewed-by: hannesw, sundar
2015-03-16 18:13:38 +01:00
Marcus Lagergren
999ce35e84 8066217: ArrayBuffer constructor was erroneous with zero args
Reviewed-by: sundar, hannesw
2015-03-16 16:17:19 +01:00
Athijegannathan Sundararajan
cf37646b3f 8075207: Nashorn parser API returns StatementTree objects in out of order
Reviewed-by: lagergren, forax, hannesw
2015-03-16 17:01:47 +05:30
Hannes Wallnöfer
10b38fe9ae 8075006: Threads spinning infinitely in WeakHashMap.get running test262parallel
Reviewed-by: lagergren, attila
2015-03-13 18:40:07 +01:00
Attila Szegedi
7e24bd1435 8073706: Livelock in CompiledFunction.getValidOptimisticInvocation
Reviewed-by: hannesw, lagergren
2015-03-11 17:52:23 +01:00
Attila Szegedi
7cd70cfbde 8074661: Forward port AbstractJSObject.getDefaultValue(JSObject, Class)
Reviewed-by: hannesw, sundar
2015-03-11 17:47:28 +01:00
Athijegannathan Sundararajan
984eae0ebf 8074972: Unused imports, a missing javadoc and a build warning
Reviewed-by: hannesw, lagergren
2015-03-11 16:58:04 +05:30
Hannes Wallnöfer
235fd3be93 8074693: Different instances of same function use same allocator map
Reviewed-by: attila, lagergren
2015-03-11 11:08:22 +01:00
Attila Szegedi
ea529d1354 8074484: More agressive value discarding
Reviewed-by: hannesw, lagergren
2015-03-11 11:03:21 +01:00
Athijegannathan Sundararajan
0ed9eb856c 8074671: Nashorn Parser API
Reviewed-by: darcy, forax, attila, hannesw
2015-03-09 20:14:10 +05:30
Hannes Wallnöfer
d6aef89288 8074556: Functions should not share allocator maps
Reviewed-by: lagergren, sundar
2015-03-09 11:34:48 +01:00
Hannes Wallnöfer
e1ac257862 8074545: Undefined object values in object literals with spill properties
Reviewed-by: lagergren, attila
2015-03-06 15:26:51 +01:00
Attila Szegedi
e776a10ce3 8074487: Static analysis of IfNode should consider terminating branches
Reviewed-by: hannesw, lagergren
2015-03-06 10:18:47 +01:00
Attila Szegedi
4a3782b060 8035712: Restore some of the RuntimeCallSite specializations
Reviewed-by: hannesw, lagergren
2015-03-05 15:43:43 +01:00
Attila Szegedi
b5aaccb15f 8074031: Canonicalize is-a-JS-string tests
Reviewed-by: hannesw, lagergren
2015-03-02 14:33:55 +01:00
Hannes Wallnöfer
74c88b0515 8073707: const re-assignment should not reported as a early error
Reviewed-by: sundar, attila
2015-02-27 14:33:47 +01:00
Athijegannathan Sundararajan
ffd434caa1 8074021: Indirect eval fails when used as an element of an array or as a property of an object
Reviewed-by: attila, hannesw
2015-02-27 18:03:18 +05:30
Attila Szegedi
0a6d13699b 8072426: Can't compare Java objects to strings or numbers
Reviewed-by: hannesw, lagergren, sundar
2015-02-20 15:47:28 +01:00
Attila Szegedi
8d084dc298 8072596: Arrays.asList results in ClassCastException with a JS array
Reviewed-by: lagergren, sundar
2015-02-12 16:43:33 +01:00
Athijegannathan Sundararajan
2f101d122b 8071989: NashornScriptEngine returns javax.script.ScriptContext instance with insonsistent get/remove methods behavior for undefined attributes
Reviewed-by: attila, lagergren
2015-02-06 19:28:26 +05:30
Hannes Wallnöfer
3f9c2f13ee 8072626: Test for JDK-8068872 fails in tip
Reviewed-by: lagergren, jlaskey
2015-02-05 16:26:36 +01:00
Hannes Wallnöfer
0e498bf1aa 8068872: Nashorn JSON.parse drops numeric keys
Reviewed-by: attila, lagergren
2015-02-05 14:47:28 +01:00
Hannes Wallnöfer
d4e6353375 8062141: Various performance issues parsing JSON
Reviewed-by: lagergren, attila
2015-02-05 14:42:14 +01:00