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

Intersection type cast issues redundant unchecked warning

XMLWordPrintable

    • b84
    • Verified

        The following cast:

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

        is issuing an unchecked warning.

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

                Created:
                Updated:
                Resolved: