more checks for -Xlint:cast

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Rejected
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools

      -Xlint:cast could check for a cast in the context of method apply, where the method is available on the uncast class,

      Example
          MyClass c = ...;
          System.out.println(((MySubClass) c).toString());

            Assignee:
            Unassigned
            Reporter:
            Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: