Improve usability of raw warnings

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 7
    • Affects Version/s: 7
    • Component/s: tools
    • b109
    • unknown
    • generic
    • Verified

      The comments about raw warnings in [1] suggest that the following improvements should be implemented:

      *) no raw warnings on instanceof

      e.g.

      xxx instanceof List // no warning

      *) no raw warnings on cast

      e.g.

      (List)xxx //no warning

      *) no raw warnings when the type parameter of Class is raw

      e.g.

      Class<List> cl = ... //no warning

      [1] - http://blogs.sun.com/mcimadamore/entry/diagnosing_raw_types

            Assignee:
            Maurizio Cimadamore
            Reporter:
            Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: