changeset 43027:17ac8011914e

8172214: typo in "intersection types in cast are not supported" message Reviewed-by: mcimadamore
author cushon
date Tue, 03 Jan 2017 17:49:08 -0500
parents 8e8b50c7491d
children 7af3f09fcd6c
files langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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=\