Commit Graph

797 Commits

Author SHA1 Message Date
Hannes Wallnöfer
8b9c730750 8138632: Sparse array does not handle growth of underlying dense array
Reviewed-by: attila, sundar
2015-10-01 10:37:25 +02:00
Athijegannathan Sundararajan
be533e6f12 8137258: JSObjectLinker and BrowserJSObjectLinker should not expose internal JS objects
Reviewed-by: attila, hannesw
2015-09-28 18:58:52 +05:30
Attila Szegedi
54f2d18d65 8134488: var statement in if(false) block incorrectly evacuated into enclosing function
Reviewed-by: hannesw, sundar
2015-09-25 17:53:06 +02:00
Attila Szegedi
f231e5ab06 8134490: Dead var statement evacuation incorrectly descends into nested functions
Reviewed-by: hannesw, mhaupt
2015-09-25 12:46:53 +02:00
Athijegannathan Sundararajan
1a8570ad75 8137134: invokespecial on indirect super interface is generated by Java adapter generator
Reviewed-by: attila, hannesw
2015-09-25 16:01:54 +05:30
Athijegannathan Sundararajan
ef8d5d8323 8136894: test/script/currently-failing/gettersetter.js passes, move it out of currently-failing tests
Reviewed-by: hannesw, mhaupt
2015-09-22 14:00:54 +05:30
Athijegannathan Sundararajan
e8aef5c7c8 8136832: property_delete.js tests be moved out from currently-failing
Reviewed-by: attila, lagergren, hannesw
2015-09-22 12:57:15 +05:30
Hannes Wallnöfer
008b5c0ad9 8135190: Method code too large in Babel browser.js script
Reviewed-by: attila, sundar
2015-09-19 16:04:28 +02:00
Athijegannathan Sundararajan
c2898271c9 8136694: Megemorphic scope access does not throw ReferenceError when property is missing
Reviewed-by: attila, hannesw
2015-09-17 18:23:53 +05:30
Hannes Wallnöfer
f4e6cd073f 8134609: Allow constructors with same prototoype map to share the allocator map
Reviewed-by: attila, sundar
2015-09-16 14:42:32 +02:00
Athijegannathan Sundararajan
1b10b826d8 8136544: Call site switching to megamorphic causes incorrect property read
Reviewed-by: attila, mhaupt
2015-09-16 16:26:30 +05:30
Athijegannathan Sundararajan
9698127af3 8080501: javaarrayconversion.js test is flawed
Reviewed-by: attila, hannesw
2015-09-15 19:31:24 +05:30
Attila Szegedi
0ec14b759a 8135336: Fix broken build after JDK-8135262
Reviewed-by: hannesw, sundar
2015-09-10 15:24:39 +02:00
Attila Szegedi
b43c9b8cda 8135262: Sanitize CodeInstaller API
Reviewed-by: hannesw, sundar
2015-09-10 14:00:27 +02:00
Hannes Wallnöfer
14a6271417 8134569: Add tests for prototype callsites
Reviewed-by: attila, sundar
2015-09-10 13:50:04 +02:00
Hannes Wallnöfer
bc7be8c881 8135000: Number.prototype.toFixed returns wrong string for 0.5 and -0.5
Reviewed-by: attila, sundar
2015-09-10 13:46:45 +02:00
Michael Haupt
0aac86c3bb Merge 2015-09-03 19:54:06 +02:00
Athijegannathan Sundararajan
70993527ee 8087292: nashorn should have a "fail-fast" option for scripting, analog to bash "set -e"
Reviewed-by: hannesw, jlaskey, mhaupt
2015-09-03 21:47:48 +05:30
Attila Szegedi
dcc5af1d2d 8134939: Improve toString method of Dynalink DynamicMethod objects
Reviewed-by: hannesw, sundar
2015-09-02 16:35:14 +02:00
Andreas Woess
5176e1dbd7 8134865: Need to restore for container block from lexical context in finally
Reviewed-by: attila, mhaupt
2015-09-01 18:19:29 +02:00
Andreas Woess
2af0ac7441 8134873: Implement support for ES6 numeric literals
Reviewed-by: attila, sundar
2015-09-01 16:11:09 +02:00
Athijegannathan Sundararajan
5c04be3588 8068901: Surprising behavior with more than one functional interface on a class
8068903: Can't invoke vararg @FunctionalInterface methods

Reviewed-by: attila, hannesw
2015-09-01 18:28:11 +05:30
Athijegannathan Sundararajan
eb2b5771d2 8134731: Function.prototype.apply interacts incorrectly with arguments
Reviewed-by: attila, hannesw
2015-08-31 17:51:02 +05:30
Michael Haupt
089307f286 8134484: disallow backquotes as heredoc end marker delimiters
Reviewed-by: attila, sundar
2015-08-26 13:11:35 +02:00
Michael Haupt
f6fe25800c 8073613: Here documents: how to avoid string interpolation?
Support heredoc end marker quoting like in bash

Reviewed-by: attila, hannesw
2015-08-26 09:59:29 +02:00
Attila Szegedi
373f5906d4 8133785: SharedScopeCall should be enabled for non-optimistic call sites in optimistic compilation
Reviewed-by: hannesw, lagergren
2015-08-24 09:12:35 +02:00
Michael Haupt
5899d6fbda 8077168: CodeStoreAndPathTest.java fails in jtreg mode on Mac
Use correct path on JRT file system

Reviewed-by: attila, sundar
2015-08-18 09:13:46 -07:00
Athijegannathan Sundararajan
67e6d1bad0 8133624: Move JDK-8055034.js and JDK-8130127.js to currently-failing directory to exclude from test run
Reviewed-by: jlaskey, hannesw
2015-08-14 18:48:26 +05:30
Athijegannathan Sundararajan
8d8c82f34e 8133119: Error message associated with TypeError for call and new should include stringified Node
Reviewed-by: attila, mhaupt
2015-08-06 21:50:42 +05:30
Athijegannathan Sundararajan
b2ad94c8e5 8073733: TypeError messages with "call" and "new" could be improved
Reviewed-by: attila, mhaupt
2015-08-04 18:18:54 +05:30
Athijegannathan Sundararajan
d2fdc74755 8132092: Nashorn copyright has to be updated
Reviewed-by: jlaskey, hannesw, mhaupt
2015-07-28 14:52:34 +05:30
Hannes Wallnöfer
ecd527cd70 8131683: Delete fails over multiple scopes
Reviewed-by: mhaupt, sundar
2015-07-22 10:18:33 +02:00
Hannes Wallnöfer
978d434abf 8131340: Varargs function is recompiled each time it is linked
Reviewed-by: mhaupt, sundar
2015-07-20 13:11:26 +02:00
Athijegannathan Sundararajan
2ae906ba4d 8131039: after adding a function property to Object.prototype, JSON.parse with reviver function goes into infinite loop
Reviewed-by: hannesw, mhaupt
2015-07-16 15:45:54 +05:30
Athijegannathan Sundararajan
94c9e33a38 8130853: Non-extensible global is not handled property
Reviewed-by: jlaskey, hannesw
2015-07-13 20:09:14 +05:30
Athijegannathan Sundararajan
4a2aab156b 8130734: Apply transformations found by netbeans Refactor->Inspect and transform menu
Reviewed-by: hannesw, jlaskey, mhaupt
2015-07-08 17:28:08 +05:30
Michael Haupt
6980a8e4cc 8130306: enable running Nashorn test on Windows
Fix executable name (add .exe suffix)

Reviewed-by: hannesw, sundar
2015-07-02 11:09:20 +02:00
Michael Haupt
eacc58bf85 8130127: streamline input parameter of Nashorn scripting $EXEC function
Handle null and undefined correctly, do not coerce them to strings

Reviewed-by: lagergren, sundar
2015-07-01 16:26:25 +02:00
Athijegannathan Sundararajan
d9a4c01c25 8114838: Anonymous functions escape to surrounding scope when defined under "with" statement
Reviewed-by: attila, hannesw, lagergren
2015-06-30 13:10:37 +05:30
Attila Szegedi
74b5de9db2 8130035: Move test/script/basic/NASHORN-627.js to currently-failing until JDK-8129881 is fixed
Reviewed-by: lagergren, sundar
2015-06-29 10:42:57 +02:00
Joe Darcy
35d84fe429 8129597: Add tier 3 test definitions to the JDK 9 forest
Reviewed-by: smarks, jjg
2015-06-24 15:19:50 -07:00
Attila Szegedi
bafa097ac7 8129410: Java adapters with class-level overrides should preserve variable arity constructors
Reviewed-by: lagergren, sundar
2015-06-23 11:16:48 +02:00
Athijegannathan Sundararajan
55f2b58bad 8098847: obj."prop" and obj.'prop' should result in SyntaxError
Reviewed-by: hannesw, attila
2015-06-17 14:21:20 +05:30
Hannes Wallnöfer
28f8652430 8087312: PropertyMapWrapper.equals should compare className
Reviewed-by: sundar, attila
2015-06-17 09:10:45 +02:00
Athijegannathan Sundararajan
2ea5c82229 8098578: Global scope is not accessible with indirect load call
Reviewed-by: attila, hannesw
2015-06-16 18:26:25 +05:30
Hannes Wallnöfer
e87ce70fa1 8098807: Strict eval throws ClassCastException with large scripts
Reviewed-by: sundar, attila
2015-06-16 13:25:41 +02:00
Hannes Wallnöfer
3c76c77513 8098546: eval within a 'with' leaks definitions into global scope
Reviewed-by: sundar, attila
2015-06-15 15:49:14 +02:00
Hannes Wallnöfer
21c3399f5e 8086052: Script evaluation should not return last function declaration
Reviewed-by: sundar, attila
2015-06-15 15:37:01 +02:00
Athijegannathan Sundararajan
907f7f2c7c 8087211: Indirect evals should be strict with -strict option
Reviewed-by: lagergren, hannesw
2015-06-12 16:55:20 +05:30
Athijegannathan Sundararajan
f5e449156c 8086032: Add compiler error tests when syntax extensions are used with --no-syntax-extensions option
Reviewed-by: attila, hannesw
2015-06-09 14:19:57 +05:30
Athijegannathan Sundararajan
2466fa7128 8085802: Nashorn -nse option causes parse error on anonymous function definition
Reviewed-by: lagergren, attila
2015-06-08 13:57:44 +05:30
Michael Haupt
cd3974600b 8080087: Nashorn $ENV.PWD is originally undefined
On Windows, the PWD environment variable does not exist and cannot be imported in scripting mode, so it is set explicitly.

Reviewed-by: lagergren, sundar
2015-06-05 12:38:53 +02:00
Hannes Wallnöfer
b7ecae1bb9 8066220: Fuzzing bug: MethodHandle bug (Object,Object) != (boolean)Object
Reviewed-by: lagergren, attila, sundar
2015-06-03 09:36:58 +02:00
Michael Haupt
b09c2994ec 8081604: rename ScriptingFunctions.tokenizeCommandLine
This used to be a single-purpose private helper; it is now used by external clients, and for new purposes. Consequently, it deserves a less specific name.

Reviewed-by: attila, lagergren, sundar
2015-06-02 10:40:19 +02:00
Attila Szegedi
0d2785c745 8066773: JSON-friendly wrapper for objects
Reviewed-by: jlaskey, lagergren, sundar
2015-06-02 10:55:17 +02:00
Joe Darcy
63cb346d4a 8075555: Add tiered testing definitions to the nashorn repo
Reviewed-by: lagergren
2015-06-02 00:16:20 -07:00
Athijegannathan Sundararajan
c3b0b573ff 8081609: engine.eval call from a java method which was called from a previous engine.eval results in wrong ScriptContext being used
Reviewed-by: attila, lagergren
2015-06-02 12:42:53 +05:30
Athijegannathan Sundararajan
d321ca9523 8081156: jjs "nashorn.args" system property is not effective when script arguments are passed
Reviewed-by: hannesw, lagergren
2015-05-27 22:18:51 +05:30
Attila Szegedi
6e24cffe34 8081204: ListAdapter throws NPE when adding/removing elements outside of JS context
Reviewed-by: lagergren, sundar
2015-05-27 14:37:11 +03:00
Athijegannathan Sundararajan
b05ced98a1 8007456: Nashorn test framework @argument does not handle quoted strings
Reviewed-by: hannesw, lagergren
2015-05-27 13:16:50 +05:30
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
Athijegannathan Sundararajan
e7f1a050d3 8068985: Wrong 'this' bound to eval call within a function when caller's 'this' is a Java object
Reviewed-by: jlaskey, attila
2015-01-15 10:18:31 +05:30
Attila Szegedi
4935529d4d 8069002: NPE on invoking null (8068889 regression)
Reviewed-by: jlaskey, sundar
2015-01-14 18:25:01 +01:00
Attila Szegedi
7090b1cdf5 8068994: Forgot to add a test model to JDK-8068573
Reviewed-by: lagergren, sundar
2015-01-14 16:29:39 +01:00
Attila Szegedi
242419de96 8068573: POJO setter using [] syntax throws an exception
Reviewed-by: lagergren, jlaskey
2015-01-14 15:54:18 +01:00
Attila Szegedi
b8092a1662 8068889: Calling a @FunctionalInterface from JS leaks internal objects
Reviewed-by: jlaskey, sundar
2015-01-13 16:38:29 +01:00
Attila Szegedi
faf445e144 8068580: make JavaAdapterFactory.isAutoConvertibleFromFunction more robust
Reviewed-by: lagergren, sundar
2015-01-12 11:29:42 +01:00
Athijegannathan Sundararajan
dc2d8b7e11 8068524: NashornScriptEngineFactory.getParameter() throws IAE for an unknown key, doesn't conform to the general spec
Reviewed-by: hannesw, attila
2015-01-07 14:02:30 +05:30
Attila Szegedi
88c5d41ddc 8067774: Use a stack of types when calculating local variable types
Reviewed-by: lagergren, sundar
2014-12-18 12:10:10 +01:00
Athijegannathan Sundararajan
ae38f75625 8067854: bound java static method throws NPE when 'null' is used for this argument
Reviewed-by: attila, hannesw
2014-12-18 16:33:33 +05:30
Hannes Wallnöfer
36816b6c0a 8066226: Fuzzing bug: parameter counts differ in TypeConverterFactory
Reviewed-by: attila, sundar
2014-12-16 17:02:54 +01:00
Hannes Wallnöfer
49252804f2 8062030: Nashorn bug retrieving array property after key string concatenation
Reviewed-by: sundar, lagergren, attila
2014-12-15 12:32:34 +01:00
Hannes Wallnöfer
b7637531a9 8066215: Fuzzing bug: length valueOf bug
Reviewed-by: attila, lagergren
2014-12-15 12:08:36 +01:00
Hannes Wallnöfer
a7a2c82780 8067219: NPE in ScriptObject.clone() when running with object fields
Reviewed-by: attila, lagergren
2014-12-11 19:15:47 +01:00
Hannes Wallnöfer
c2cd1906de 8066669: dust.js performance regression caused by primitive field conversion
Reviewed-by: attila, sundar
2014-12-11 15:39:58 +01:00
Hannes Wallnöfer
7d75c8da1a 8066932: __noSuchMethod__ binds to this-object without proper guard
Reviewed-by: attila, lagergren
2014-12-11 12:01:17 +01:00
Attila Szegedi
13c5c04470 8066221: anonymous function statement name clashes with another symbol
Reviewed-by: lagergren, sundar
2014-12-10 18:28:41 +01:00
Athijegannathan Sundararajan
34673eaf92 8067136: BrowserJSObjectLinker does not handle call on JSObjects
Reviewed-by: attila, hannesw, lagergren
2014-12-10 19:42:01 +05:30
Attila Szegedi
3330ff38e9 8066236: RuntimeNode forces copy creation on visitation
Reviewed-by: hannesw, lagergren
2014-12-10 12:30:48 +01:00
Attila Szegedi
22573e0db4 8066224: fixes for folding a constant-test ternary operator
Reviewed-by: hannesw, lagergren
2014-12-10 11:55:25 +01:00
Attila Szegedi
47e744920e 8066225: NPE in MethodEmitter with duplicate integer switch cases
Reviewed-by: hannesw, lagergren
2014-12-10 11:55:04 +01:00
Attila Szegedi
d3b4347330 8066227: CodeGenerator load unitialized slot
Reviewed-by: hannesw, lagergren
2014-12-08 15:14:11 +01:00
Attila Szegedi
1284542fb3 8066230: Undefined object type assertion when computing TypeBounds
Reviewed-by: hannesw, lagergren
2014-12-08 15:13:16 +01:00
Athijegannathan Sundararajan
f42d5e85e3 8066749: jdk9-dev/nashorn ant build fails with jdk9 modular image build as JAVA_HOME
Reviewed-by: lagergren, hannesw
2014-12-05 14:35:00 +05:30
Athijegannathan Sundararajan
369861355d 8066696: test/script/nosecurity/JDK-8055034.js -Xbootclasspath option is wrong
Reviewed-by: attila, lagergren
2014-12-04 21:52:58 +05:30
Athijegannathan Sundararajan
949112fab2 8066683: nashorn test failures after modular image changes
Reviewed-by: attila, jlaskey
2014-12-04 20:40:48 +05:30
Chris Hegarty
2dbed37b5e Merge 2014-12-03 17:55:36 +00:00
Attila Szegedi
29eb5ce73d 8066232: problem with conditional catch compilation
Reviewed-by: hannesw, lagergren
2014-12-03 16:31:39 +01:00
Attila Szegedi
deabb040d5 8066222: too strong assertion on function expression names
Reviewed-by: hannesw, lagergren
2014-12-03 16:31:15 +01:00
Chris Hegarty
174f2cfc80 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@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>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:26:07 +00:00
Hannes Wallnöfer
e3a64209bc 8066214: Fuzzing bug: Object.prototype.toLocaleString(0)
Reviewed-by: attila, lagergren
2014-12-03 11:43:57 +01:00
Andreas Gabrielsson
beb05bda0d 8066238: AssertionError in parser when syntax errors appeared in non finished Blocks
Reviewed-by: hannesw, sundar, lagergren
2014-12-01 13:17:24 +01:00
Hannes Wallnöfer
7b35db48f7 8057980: let & const: remaining issues with lexical scoping
Reviewed-by: lagergren, attila
2014-11-27 16:42:53 +01:00
Attila Szegedi
e79371a0bc 8051778: support bind on all Nashorn callables
Reviewed-by: hannesw, lagergren
2014-11-27 13:04:46 +01:00
Hannes Wallnöfer
b5ae347f9c 8057691: Nashorn: let & const declarations are not shared between scripts
Reviewed-by: lagergren, attila
2014-11-21 17:44:57 +01:00
Marcus Lagergren
ad0645eb58 8049407: Endianness problem with TypedArrays
Reviewed-by: hannesw, sundar
2014-11-17 14:36:15 +01:00
Sergey Lugovoy
42c6853ed1 8062638: RuntimeException when run command from js with -scripting on Cygwin
Reviewed-by: hannesw, lagergren
2014-11-17 14:57:28 +03:00
Marcus Lagergren
ebdc046949 8062937: Need to block constant assumption for index setters and defineOwnProperty, not just delete
Reviewed-by: hannesw, jlaskey
2014-11-13 16:59:03 +01:00
Marcus Lagergren
434b1899be 8035312: Various array and ScriptObject length issues for non writable length fields
Reviewed-by: hannesw, attila
2014-11-12 14:12:01 +01:00
Attila Szegedi
c0e0171008 8062799: Binary logical expressions can have numeric types
Reviewed-by: lagergren, sundar
2014-11-11 17:27:44 +01:00
Hannes Wallnöfer
ed9bce193a 8047365: Very long function names break codegen
Reviewed-by: attila, lagergren
2014-11-06 13:17:47 +01:00