8172214: typo in "intersection types in cast are not supported" message

Reviewed-by: mcimadamore
This commit is contained in:
Liam Miller-Cushon 2017-01-03 17:49:08 -05:00
parent 920965dad2
commit 1b499dbf8b

View File

@ -2558,7 +2558,7 @@ compiler.err.default.methods.not.supported.in.source=\
# 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=\