8172214: typo in "intersection types in cast are not supported" message
authorcushon
Tue, 03 Jan 2017 17:49:08 -0500
changeset 43027 17ac8011914e
parent 43026 8e8b50c7491d
child 43028 7af3f09fcd6c
8172214: typo in "intersection types in cast are not supported" message Reviewed-by: mcimadamore
langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
--- a/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties	Tue Jan 03 17:53:34 2017 -0800
+++ b/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties	Tue Jan 03 17:49:08 2017 -0500
@@ -2558,7 +2558,7 @@
 # 0: string
 compiler.err.intersection.types.in.cast.not.supported.in.source=\
     intersection types in cast are not supported in -source {0}\n\
-    (use -source 8 or higher to enable default methods)
+    (use -source 8 or higher to enable intersection types in cast)
 
 # 0: string
 compiler.err.static.intf.methods.not.supported.in.source=\