Commit Graph

637 Commits

Author SHA1 Message Date
Attila Szegedi
1333ff7ddd 8081062: ListAdapter should take advantage of JSObject
Reviewed-by: lagergren, sundar
2015-05-26 16:12:23 +02:00
Attila Szegedi
f9b1376aa3 8081015: Allow conversion of native arrays to Queue and Collection
Reviewed-by: hannesw, lagergren, sundar
2015-05-26 14:37:14 +02:00
Athijegannathan Sundararajan
5b954fdc5e 8036743: need ArrayBuffer constructor with specified data
Reviewed-by: attila, hannesw, lagergren
2015-05-26 13:49:45 +05:30
Athijegannathan Sundararajan
5431091715 8079145: jdk.nashorn.internal.runtime.arrays.IntArrayData.convert assertion
Reviewed-by: jlaskey, hannesw
2015-05-21 21:51:48 +05:30
Athijegannathan Sundararajan
8777094b4f 8080848: delete of bound Java method property results in crash
Reviewed-by: hannesw, lagergren
2015-05-21 18:44:51 +05:30
Attila Szegedi
c9191f56e0 8078414: Don't create impossible converters for ScriptObjectMirror
Reviewed-by: hannesw, sundar
2015-05-15 15:40:57 +02:00
Michael Haupt
6a8c6779ea 8080471: fix usage of replace and file separator in Nashorn tests
Two tests should use replace instead of replaceAll, and there is a typo in the usage of File.separator.

Reviewed-by: attila, hannesw
2015-05-15 10:21:48 +02:00
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
68085fd188 8080295: Need to adjust test output for 8067931
Reviewed-by: jlaskey, sundar
2015-05-13 10:01:37 -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
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
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
bc04834c26 8071928: Instance properties with getters returning wrong values
Reviewed-by: attila, lagergren, sundar
2015-04-20 10:40:42 +02:00
Hannes Wallnöfer
d7248ad3bd 8073846: Javascript for-in loop returned extra keys
Reviewed-by: attila, lagergren, sundar
2015-04-20 10:39:55 +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
Athijegannathan Sundararajan
fcb7a55923 8076972: Several nashorn tests failing
Reviewed-by: lagergren, jlaskey
2015-04-07 00:13:18 +05:30
Athijegannathan Sundararajan
44b017bd90 8076646: nashorn tests should avoid using package names used by nashorn sources
Reviewed-by: hannesw
2015-04-03 19:09:34 +05:30
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
Sergey Lugovoy
540bb21731 8075240: Output of some tests contains platform specific line break
Reviewed-by: sundar
2015-03-25 14:39:39 +03:00
Sergey Lugovoy
b7d77b1297 8068306: Tests for AST presentation Nashorn Parser API
8068304: Tests for Diagnostic listener for Nashorn Parser API
8068303: Create tests for Nashorn Parser API for create Tree from some different source and parameters

Reviewed-by: sundar, lagergren
2015-03-20 13:19:47 +03:00
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
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
Attila Szegedi
4c6eb2b310 8075090: Add tests for the basic failure of try/finally compilation
Reviewed-by: hannesw, lagergren
2015-03-16 11:00:07 +01:00
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
Hannes Wallnöfer
86fefb1f46 8074687: Add tests for JSON parsing of numeric keys
Reviewed-by: sundar, attila
2015-03-10 18:23:43 +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
4a3782b060 8035712: Restore some of the RuntimeCallSite specializations
Reviewed-by: hannesw, lagergren
2015-03-05 15:43:43 +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
13a7f3810a 8072752: Add regression tests for 8071678 and 8071594
Reviewed-by: hannesw, attila
2015-02-09 14:40:56 +05:30
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
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
Athijegannathan Sundararajan
2d266be7f6 8072595: nashorn should not use obj.getClass() for null checks
Reviewed-by: hannesw, attila
2015-02-05 19:08:00 +05:30
Attila Szegedi
d09ec5b3e1 8067139: Finally blocks inlined incorrectly
Reviewed-by: hannesw, lagergren
2015-01-28 17:58:08 +01:00
Attila Szegedi
bf990aa813 8068603: ScriptObjectMirror should reject null/empty string/non-string parameters in Bindings methods
Reviewed-by: hannesw, sundar
2015-01-20 12:34:21 +01:00