Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: tools
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      This program doesn't compile

      public class X {

          public interface SuperInterface<A> {
          }

          public interface SubInterface extends SuperInterface<String> {
              public String getString();
          }

          private SuperInterface< ? extends SuperInterface> x = null;

          public void f() {
              ((SubInterface) this.x).getString();
          }
      }

      ###@###.### 2005-06-08 16:13:28 GMT

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ahe Peter Ahe
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: