Commit Graph

534 Commits

Author SHA1 Message Date
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
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
Attila Szegedi
d09ec5b3e1 8067139: Finally blocks inlined incorrectly
Reviewed-by: hannesw, lagergren
2015-01-28 17:58:08 +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
242419de96 8068573: POJO setter using [] syntax throws an exception
Reviewed-by: lagergren, jlaskey
2015-01-14 15:54:18 +01:00
Attila Szegedi
faf445e144 8068580: make JavaAdapterFactory.isAutoConvertibleFromFunction more robust
Reviewed-by: lagergren, sundar
2015-01-12 11:29:42 +01:00
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
Hannes Wallnöfer
0c4006a654 8062624: java.lang.String methods not available on concatenated strings
Reviewed-by: lagergren, attila
2014-11-06 13:15:52 +01:00
Marcus Lagergren
fe0da815c5 8057825: Bug in apply specialization - if an apply specialization that is available doesn't fit, a new one wouldn't be installed, if the new code generated as a specialization didn't manage to do the apply specialization. Basically changing a conditional to an unconditional
Reviewed-by: attila, hannesw
2014-11-05 12:34:06 +01:00
Marcus Lagergren
75d37c8e9c 8061959: ArrayBuffer lacked static isViewMethod
Reviewed-by: attila, sundar
2014-11-03 13:58:52 +01:00