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

Intersection type cast issues redundant unchecked warning

    XMLWordPrintable

Details

    • b84
    • Verified

    Backports

      Description

        The following cast:

        List<String> ls = ...
        Object o1 = (List<String> & Serializable)fss;

        is issuing an unchecked warning.

        Attachments

          Issue Links

            Activity

              People

                mcimadamore Maurizio Cimadamore
                mcimadamore Maurizio Cimadamore
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: