Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8172214

typo in 'intersection types in cast are not supported' message

XMLWordPrintable

    • b152
    • Not verified

      compiler.err.intersection.types.in.cast.not.supported.in.source reads:

      > intersection types in cast are not supported in -source {0}\n\
      > (use -source 8 or higher to enable default methods)

      It should be:

      > intersection types in cast are not supported in -source {0}\n\
      > (use -source 8 or higher to enable intersection types in cast)

            cushon Liam Miller-Cushon
            cushon Liam Miller-Cushon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: