annotate src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Messages.properties @ 1392:5efd65e18b71

8073613: Here documents: how to avoid string interpolation? Summary: support heredoc end marker quoting like in bash Reviewed-by: attila, hannesw
author mhaupt
date Wed, 26 Aug 2015 09:59:29 +0200
parents 864aaf4e6441
children ad3c4bdf0cf6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
1 #
1392
5efd65e18b71 8073613: Here documents: how to avoid string interpolation?
mhaupt
parents: 1387
diff changeset
2 # Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
4 #
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
5 # This code is free software; you can redistribute it and/or modify it
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
6 # under the terms of the GNU General Public License version 2 only, as
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
7 # published by the Free Software Foundation. Oracle designates this
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
8 # particular file as subject to the "Classpath" exception as provided
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
9 # by Oracle in the LICENSE file that accompanied this code.
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
10 #
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
11 # This code is distributed in the hope that it will be useful, but WITHOUT
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
14 # version 2 for more details (a copy is included in the LICENSE file that
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
15 # accompanied this code).
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
16 #
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
17 # You should have received a copy of the GNU General Public License version
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
18 # 2 along with this work; if not, write to the Free Software Foundation,
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
20 #
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
22 # or visit www.oracle.com if you need additional information or have any
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
23 # questions.
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
24 #
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
25 lexer.error.edit.string.missing.brace=Edit string expression missing closing brace
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
26 lexer.error.here.missing.end.marker=Here string missing end marker "{0}"
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
27 lexer.error.missing.close.quote=Missing close quote
345
18362e95e638 8016522: Numeric literal must not be followed by IdentifierStart
hannesw
parents: 333
diff changeset
28 lexer.error.missing.space.after.number=Missing space after numeric literal
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
29 lexer.error.invalid.hex=Invalid hex digit
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
30 lexer.error.strict.no.octal=cannot use octal escapes in strict mode
332
bab844827181 8015346: JSON parsing issues with escaped strings, octal, decimal numbers
sundar
parents: 285
diff changeset
31 lexer.error.json.invalid.number=Invalid JSON number format
bab844827181 8015346: JSON parsing issues with escaped strings, octal, decimal numbers
sundar
parents: 285
diff changeset
32 lexer.error.invalid.escape.char=Invalid escape character
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
33 lexer.error.illegal.identifier.character=Illegal character in identifier
1392
5efd65e18b71 8073613: Here documents: how to avoid string interpolation?
mhaupt
parents: 1387
diff changeset
34 lexer.error.here.non.matching.delimiter=Quoted here string end marker must have matching delimiters
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
35
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
36 parser.error.illegal.continue.stmt=Illegal continue statement
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
37 parser.error.illegal.break.stmt=Illegal break statement
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
38 parser.error.invalid.lvalue=Invalid left hand side for assignment
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
39 parser.error.undefined.label=Undefined Label "{0}"
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
40 parser.error.duplicate.label=Duplicate Label "{0}"
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
41 parser.error.duplicate.default.in.switch=Switch already has default case
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
42 parser.error.expected.literal=Expected a literal but found {0}
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
43 parser.error.expected.operand=Expected an operand but found {0}
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
44 parser.error.expected.stmt=Expected statement but found {0}
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
45 parser.error.expected.comma=Expected comma but found {0}
390
9165138b427c 8019508: Comma handling in object literal parsing is wrong
sundar
parents: 345
diff changeset
46 parser.error.expected.property.id=Expected property id but found {0}
393
74049fe3ba46 8019553: NPE on illegal l-value for increment and decrement
sundar
parents: 390
diff changeset
47 parser.error.expected.lvalue=Expected l-value but found {0}
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
48 parser.error.expected=Expected {0} but found {1}
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
49 parser.error.invalid.return=Invalid return statement
143
4be452026847 8010652: Eliminate non-child references in Block/FunctionNode, and make few node types immutable
attila
parents: 66
diff changeset
50 parser.error.no.func.decl.here=Function declarations can only occur at program or function body level. You should use a function expression here instead.
4be452026847 8010652: Eliminate non-child references in Block/FunctionNode, and make few node types immutable
attila
parents: 66
diff changeset
51 parser.error.no.func.decl.here.warn=Function declarations should only occur at program or function body level. Function declaration in nested block was converted to a function expression.
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
52 parser.error.property.redefinition=Property "{0}" already defined
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
53 parser.error.unexpected.token=Unexpected token: {0}
405
eb1437d16ab4 8019805: for each (init; test; modify) is invalid
sundar
parents: 393
diff changeset
54 parser.error.for.each.without.in=for each can only be used with for..in
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
55 parser.error.many.vars.in.for.in.loop=Only one variable allowed in for..in loop
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
56 parser.error.not.lvalue.for.in.loop=Invalid left side value of for..in loop
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
57 parser.error.missing.catch.or.finally=Missing catch or finally after try
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
58 parser.error.regex.unsupported.flag=Unsupported RegExp flag: {0}
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
59 parser.error.regex.repeated.flag=Repeated RegExp flag: {0}
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
60 parser.error.regex.syntax={0}
567
279f47b353f3 8025147: Trailing comma is not allowed in JSONArray and JSONObject
sundar
parents: 540
diff changeset
61 parser.error.trailing.comma.in.json=Trailing comma is not allowed in JSON
1002
2f0161551858 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents: 974
diff changeset
62 parser.error.missing.const.assignment=Missing assignment to constant "{0}"
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
63
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
64 # strict mode error messages
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
65 parser.error.strict.no.with="with" statement cannot be used in strict mode
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
66 parser.error.strict.name="{0}" cannot be used as {1} in strict mode
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
67 parser.error.strict.cant.delete.ident=cannot delete identifier "{0}" in strict mode
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
68 parser.error.strict.param.redefinition=strict mode function cannot have duplicate parameter name "{0}"
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
69 parser.error.strict.no.octal=cannot use octal value in strict mode
143
4be452026847 8010652: Eliminate non-child references in Block/FunctionNode, and make few node types immutable
attila
parents: 66
diff changeset
70 parser.error.strict.no.func.decl.here=In strict mode, function declarations can only occur at program or function body level. You should use a function expression here instead.
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
71 type.error.strict.getter.setter.poison=In strict mode, "caller", "callee", and "arguments" properties can not be accessed on functions or the arguments object
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
72
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
73 # not the expected type in a given context
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
74 type.error.not.an.object={0} is not an Object
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
75 type.error.not.a.boolean={0} is not a Boolean
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
76 type.error.not.a.date={0} is not a Date
1055
9dc87837f70a 8060101: AssertionError: __noSuchProperty__ placeholder called from NativeJavaImporter
sundar
parents: 1022
diff changeset
77 type.error.not.a.java.importer={0} is not a JavaImporter object
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
78 type.error.not.a.number={0} is not a Number
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
79 type.error.not.a.regexp={0} is not a RegExp
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
80 type.error.not.a.string={0} is not a String
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
81 type.error.not.a.function={0} is not a function
1369
a3c6abd88eb4 8133119: Error message associated with TypeError for call and new should include stringified Node
sundar
parents: 1368
diff changeset
82 type.error.not.a.function.value={0}, which has value {1}, is not a function
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
83 type.error.not.a.constructor={0} is not a constructor function
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
84 type.error.not.a.file={0} is not a File
818
26a5fdb90de2 8035820: Optimistic recompilation
attila
parents: 748
diff changeset
85 type.error.not.a.numeric.array={0} is not a numeric array
748
0afcc0851aab 8011964: need indexed access to externally-managed ByteBuffer
sundar
parents: 742
diff changeset
86 type.error.not.a.bytebuffer={0} is not a java.nio.ByteBuffer
1119
e033e2c32122 8066119: Invalid resource tag used for looking up error message in NativeDataView
lagergren
parents: 1118
diff changeset
87 type.error.not.an.arraybuffer.in.dataview=First argument to DataView constructor must be an ArrayBuffer
974
57500636de77 8050078: Nashorn ClassFilter Support
sundar
parents: 953
diff changeset
88 type.error.no.reflection.with.classfilter=Java reflection not supported when class filter is present
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
89
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
90 # operations not permitted on undefined
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
91 type.error.cant.call.undefined=Cannot call undefined
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
92 type.error.cant.read.property.of.undefined=Cannot read property "{0}" from undefined
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
93 type.error.cant.set.property.of.undefined=Cannot set property "{0}" of undefined
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
94 type.error.cant.delete.property.of.undefined=Cannot delete property "{0}" of undefined
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
95
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
96 # other wrong usages of property
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
97 type.error.property.has.no.setter=Cannot set property "{0}" of {1} that has only a getter
1022
a20309596c42 8057743: Single quotes must be escaped in message resource file
hannesw
parents: 1002
diff changeset
98 type.error.cant.set.proto.to.non.object=Cannot set Object {0}''s __proto__ to be a non-object like {1}
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
99 type.error.no.such.function={1} has no such function "{0}"
919
fd943e294985 8043232: Index selection of overloaded java new constructors
sundar
parents: 917
diff changeset
100 type.error.no.such.java.class=No such Java class: {0}
fd943e294985 8043232: Index selection of overloaded java new constructors
sundar
parents: 917
diff changeset
101 type.error.no.such.java.constructor=No such Java constructor: {0}
fd943e294985 8043232: Index selection of overloaded java new constructors
sundar
parents: 917
diff changeset
102 type.error.improper.constructor.signature=Java constructor signature invalid: {0}
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
103 type.error.cant.get.property=Cannot get property "{0}" of {1}
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
104 type.error.cant.set.property=Cannot set property "{0}" of {1}
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
105 type.error.cant.delete.property=Cannot delete property "{0}" of {1}
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
106 type.error.cant.redefine.property=Cannot redefine property "{0}" of {1}
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
107 type.error.property.not.writable="{0}" is not a writable property of {1}
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
108 type.error.object.non.extensible=Cannot add new property "{0}" to non-extensible {1}
512
b7c04b3b01a7 8023368: Instance __proto__ property should exist and be writable.
sundar
parents: 500
diff changeset
109 type.error.__proto__.set.non.extensible=Cannot set __proto__ of non-extensible {0}
b7c04b3b01a7 8023368: Instance __proto__ property should exist and be writable.
sundar
parents: 500
diff changeset
110 type.error.circular.__proto__.set=Cannot create__proto__ cycle for {0}
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
111
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
112 # miscellaneous
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
113 type.error.regex.cant.supply.flags=Cannot supply flags when constructing one RegExp from another
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
114 type.error.inconsistent.property.descriptor=inconsistent property descriptor
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
115 type.error.bad.default.value=bad default value: {0}
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
116 type.error.function.apply.expects.array=Function.prototype.apply expects an Array for second argument
500
bbc4e9d37315 8022676: Confusing error message checking instanceof non-class
jlaskey
parents: 405
diff changeset
117 type.error.instanceof.on.non.object=instanceof must be called with a javascript or java object as the right-hand argument
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
118 type.error.cannot.convert.to.interface=object {0} cannot be converted to {1} due to "{2}"
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
119 type.error.array.reduce.invalid.init=invalid initialValue for Array.prototype.reduce
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
120 type.error.array.reduceright.invalid.init=invalid initialValue for Array.prototype.reduceRight
1118
e26843ca558b 8057980: let & const: remaining issues with lexical scoping
hannesw
parents: 1055
diff changeset
121 type.error.assign.constant=Assignment to constant "{0}"
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
122 type.error.cannot.get.default.string=Cannot get default string value
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
123 type.error.cannot.get.default.number=Cannot get default number value
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
124 type.error.cant.apply.with.to.null=Cannot apply "with" to null
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
125 type.error.cant.apply.with.to.undefined=Cannot apply "with" to undefined
1273
1bd45e5ecf6a 8067931: Improve error message when with statement is passed a POJO
attila
parents: 1265
diff changeset
126 type.error.cant.apply.with.to.non.scriptobject=Cannot apply "with" to non script object. Consider using "with(Object.bindProperties('{'}, nonScriptObject))".
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
127 type.error.in.with.non.object=Right hand side of "in" cannot be non-Object, found {0}
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
128 type.error.prototype.not.an.object="prototype" of {0} is not an Object, it is {1}
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
129 type.error.cant.load.script=Cannot load script from {0}
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
130 type.error.JSON.stringify.cyclic=JSON.stringify got a cyclic data structure
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
131 type.error.cant.convert.string.to.char=Cannot convert string to character; its length must be exactly 1
1022
a20309596c42 8057743: Single quotes must be escaped in message resource file
hannesw
parents: 1002
diff changeset
132 type.error.cant.convert.number.to.char=Cannot convert number to character; it is out of 0-65535 range
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
133 type.error.cant.convert.to.java.string=Cannot convert object of type {0} to a Java argument of string type
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
134 type.error.cant.convert.to.java.number=Cannot convert object of type {0} to a Java argument of number type
1022
a20309596c42 8057743: Single quotes must be escaped in message resource file
hannesw
parents: 1002
diff changeset
135 type.error.cant.convert.to.javascript.array=Can only convert Java arrays and lists to JavaScript arrays. Cannot convert object of type {0}.
26
eda69555239a 8006168: ability to generate multi-type Java adapters
attila
parents: 6
diff changeset
136 type.error.extend.expects.at.least.one.argument=Java.extend needs at least one argument.
174
5eb1427b6a6d 8011544: Allow subclassing Java classes from script without creating instances
attila
parents: 143
diff changeset
137 type.error.extend.expects.at.least.one.type.argument=Java.extend needs at least one type argument.
26
eda69555239a 8006168: ability to generate multi-type Java adapters
attila
parents: 6
diff changeset
138 type.error.extend.expects.java.types=Java.extend needs Java types as its arguments.
eda69555239a 8006168: ability to generate multi-type Java adapters
attila
parents: 6
diff changeset
139 type.error.extend.ambiguous.defining.class=There is no class loader that can see all of {0} at once.
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
140 type.error.extend.ERROR_FINAL_CLASS=Can not extend final class {0}.
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
141 type.error.extend.ERROR_NON_PUBLIC_CLASS=Can not extend/implement non-public class/interface {0}.
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
142 type.error.extend.ERROR_NO_ACCESSIBLE_CONSTRUCTOR=Can not extend class {0} as it has no public or protected constructors.
26
eda69555239a 8006168: ability to generate multi-type Java adapters
attila
parents: 6
diff changeset
143 type.error.extend.ERROR_MULTIPLE_SUPERCLASSES=Can not extend multiple classes {0}. At most one of the specified types can be a class, the rest must all be interfaces.
eda69555239a 8006168: ability to generate multi-type Java adapters
attila
parents: 6
diff changeset
144 type.error.extend.ERROR_NO_COMMON_LOADER=Can not find a common class loader for ScriptObject and {0}.
742
66b98808fdff 8032681: Issues with Nashorn
attila
parents: 567
diff changeset
145 type.error.extend.ERROR_FINAL_FINALIZER=Can not extend class because {0} has a final finalize method.
1158
ff6d1fe94b3d 8068580: make JavaAdapterFactory.isAutoConvertibleFromFunction more robust
attila
parents: 1119
diff changeset
146 type.error.extend.ERROR_OTHER=Can not extend/implement {0} because of {1}
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
147 type.error.no.constructor.matches.args=Can not construct {0} with the passed arguments; they do not match any of its constructor signatures.
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
148 type.error.no.method.matches.args=Can not invoke method {0} with the passed arguments; they do not match any of its method signatures.
1265
6af2ee7b09a9 8079470: Misleading error message when explicit signature constructor is called with wrong arguments
sundar
parents: 1195
diff changeset
149 type.error.no.constructor.matches.args=Can not create new object with constructor {0} with the passed arguments; they do not match any of its method signatures.
1022
a20309596c42 8057743: Single quotes must be escaped in message resource file
hannesw
parents: 1002
diff changeset
150 type.error.method.not.constructor=Java method {0} cannot be used as a constructor.
66
6f58c28c4faa 8006191: `cmd` -> exec("cmd") in script mode
jlaskey
parents: 26
diff changeset
151 type.error.env.not.object=$ENV must be an Object.
285
1c1453863ea8 8015267: Allow conversion of JS arrays to Java List/Deque
attila
parents: 278
diff changeset
152 type.error.unsupported.java.to.type=Unsupported Java.to target type {0}.
1022
a20309596c42 8057743: Single quotes must be escaped in message resource file
hannesw
parents: 1002
diff changeset
153 type.error.constructor.requires.new=Constructor {0} requires "new".
812
068b13565a57 8043930: TypeError when attemping to create an instance of non-public class could be better
sundar
parents: 765
diff changeset
154 type.error.new.on.nonpublic.javatype=new cannot be used with non-public java type {0}.
765
91ef0e039d91 8015958: DataView constructor is not defined
sundar
parents: 748
diff changeset
155
91ef0e039d91 8015958: DataView constructor is not defined
sundar
parents: 748
diff changeset
156 range.error.dataview.constructor.offset=Wrong offset or length in DataView constructor
91ef0e039d91 8015958: DataView constructor is not defined
sundar
parents: 748
diff changeset
157 range.error.dataview.offset=Offset is outside the bounds of the DataView
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
158 range.error.inappropriate.array.length=inappropriate array length: {0}
333
918a986b0478 8012291: NativeArray is inconsistent in using long for length and index in some places and int for the same in other places
hannesw
parents: 332
diff changeset
159 range.error.inappropriate.array.buffer.length=inappropriate array buffer length: {0}
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
160 range.error.invalid.fraction.digits=fractionDigits argument to {0} must be in [0, 20]
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
161 range.error.invalid.precision=precision argument toPrecision() must be in [1, 21]
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
162 range.error.invalid.radix=radix argument must be in [2, 36]
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
163 range.error.invalid.date=Invalid Date
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
164 range.error.too.many.errors=Script contains too many errors: {0} errors
917
947cd4cdca37 8047359: large string size RangeError should be thrown rather than reporting negative length
sundar
parents: 869
diff changeset
165 range.error.concat.string.too.big=Concatenated String is too big
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
166
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
167 reference.error.not.defined="{0}" is not defined
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
168 reference.error.cant.be.used.as.lhs="{0}" can not be used as the left-hand side of assignment
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
169
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
170 syntax.error.invalid.json=Invalid JSON: {0}
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
171 syntax.error.strict.cant.delete=cannot delete "{0}" in strict mode
1002
2f0161551858 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents: 974
diff changeset
172 syntax.error.redeclare.variable=Variable "{0}" has already been declared
1118
e26843ca558b 8057980: let & const: remaining issues with lexical scoping
hannesw
parents: 1055
diff changeset
173 syntax.error.unprotected.switch.declaration=Unsupported {0} declaration in unprotected switch statement
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
174
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
175 io.error.cant.write=cannot write "{0}"
1387
864aaf4e6441 8133785: SharedScopeCall should be enabled for non-optimistic call sites in optimistic compilation
attila
parents: 1369
diff changeset
176
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
177 config.error.no.dest=no destination directory supplied
1387
864aaf4e6441 8133785: SharedScopeCall should be enabled for non-optimistic call sites in optimistic compilation
attila
parents: 1369
diff changeset
178 config.error.eagerCompilationConflictsWithOptimisticTypes={0}=false (eager compilation) is not compatible with {1}=true.
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
179
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
180 uri.error.bad.uri=Bad URI "{0}" near offset {1}
1290
cdec24430159 8081204: ListAdapter throws NPE when adding/removing elements outside of JS context
attila
parents: 1273
diff changeset
181 list.adapter.null.global=Attempted to create the adapter from outside a JavaScript execution context.