aboutsummaryrefslogtreecommitdiff
path: root/src/jdk/nashorn/internal/runtime/resources
diff options
context:
space:
mode:
authorsundar <none@none>2014-05-26 15:48:25 +0530
committersundar <none@none>2014-05-26 15:48:25 +0530
commit42fbdf6d39a1d894351322a72fcd175d578214fc (patch)
treeea20483ba722c8a4650ef6fc59e05ca3835edb8a /src/jdk/nashorn/internal/runtime/resources
parent6a0591d04e739d5e220432b43d1445bf1023dcf4 (diff)
downloadnashorn-42fbdf6d39a1d894351322a72fcd175d578214fc.tar.gz
8043930: TypeError when attemping to create an instance of non-public class could be better
Reviewed-by: attila, lagergren
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 47248fce..c98c1c7c 100644
--- a/src/jdk/nashorn/internal/runtime/resources/Messages.properties
+++ b/src/jdk/nashorn/internal/runtime/resources/Messages.properties
@@ -138,6 +138,7 @@ type.error.no.method.matches.args=Can not invoke method {0} with the passed argu
type.error.method.not.constructor=Java method {0} can't be used as a constructor.
type.error.env.not.object=$ENV must be an Object.
type.error.unsupported.java.to.type=Unsupported Java.to target type {0}.
+type.error.new.on.nonpublic.javatype=new cannot be used with non-public java type {0}.
range.error.dataview.constructor.offset=Wrong offset or length in DataView constructor
range.error.dataview.offset=Offset is outside the bounds of the DataView