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

Lambda Spec: Disallow arrays in intersection cast targets

    Details

      Description

      Arrays are presently allowed in intersection types, but this type is uninhabited (no such values exist in the language), and adding the ability to javac has created a bug-tail. Therefore the spec should be amended to disallow this case.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dlsmith Dan Smith
                Reporter:
                emc Eric Mccorkle
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: