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

more checks for -Xlint:cast

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • 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());

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

              Created:
              Updated: