diff src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Messages.properties @ 1368:ed56500172f4

8073733: TypeError messages with "call" and "new" could be improved Reviewed-by: attila, mhaupt
author sundar
date Tue, 04 Aug 2015 18:18:54 +0530
parents cdec24430159
children a3c6abd88eb4
line wrap: on
line diff
--- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Messages.properties	Thu Jul 30 15:22:40 2015 -0700
+++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Messages.properties	Tue Aug 04 18:18:54 2015 +0530
@@ -87,6 +87,7 @@
 
 # operations not permitted on undefined
 type.error.cant.call.undefined=Cannot call undefined
+type.error.cant.call.undefined.arg=Cannot call "{0}" that has undefined value
 type.error.cant.read.property.of.undefined=Cannot read property "{0}" from undefined
 type.error.cant.set.property.of.undefined=Cannot set property "{0}" of undefined
 type.error.cant.delete.property.of.undefined=Cannot delete property "{0}" of undefined