aboutsummaryrefslogtreecommitdiff
path: root/src/jdk/nashorn/internal/runtime/resources
diff options
context:
space:
mode:
authorsundar <none@none>2013-09-09 20:10:41 +0530
committersundar <none@none>2013-09-09 20:10:41 +0530
commitd1bfa3d123a836f5cda89065d204296ae1ff5b82 (patch)
tree1ec87140fae2828cbb2e8c9a0ef0aaeab541dfb4 /src/jdk/nashorn/internal/runtime/resources
parentab453c37449219dce4ad1232bbde763da0612ee8 (diff)
downloadnashorn-d1bfa3d123a836f5cda89065d204296ae1ff5b82.tar.gz
8024180: Incorrect handling of expression and parent scope in 'with' statements
Reviewed-by: jlaskey, hannesw
Diffstat (limited to 'src/jdk/nashorn/internal/runtime/resources')
-rw-r--r--src/jdk/nashorn/internal/runtime/resources/Messages.properties1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jdk/nashorn/internal/runtime/resources/Messages.properties b/src/jdk/nashorn/internal/runtime/resources/Messages.properties
index 68f68c0a..5115e2ce 100644
--- a/src/jdk/nashorn/internal/runtime/resources/Messages.properties
+++ b/src/jdk/nashorn/internal/runtime/resources/Messages.properties
@@ -110,6 +110,7 @@ type.error.cannot.get.default.string=Cannot get default string value
type.error.cannot.get.default.number=Cannot get default number value
type.error.cant.apply.with.to.null=Cannot apply "with" to null
type.error.cant.apply.with.to.undefined=Cannot apply "with" to undefined
+type.error.cant.apply.with.to.non.scriptobject=Cannot apply "with" to non script object
type.error.in.with.non.object=Right hand side of "in" cannot be non-Object, found {0}
type.error.prototype.not.an.object="prototype" of {0} is not an Object, it is {1}
type.error.cant.load.script=Cannot load script from {0}