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

name clash not reported for interface inheritance

XMLWordPrintable

    • 5.0
    • generic
    • solaris_8

      from
      http://forum.java.sun.com/thread.jsp?forum=316&thread=528605&tstart=0&trange=50

       In case of inheritance of interfaces, the name clash
      is not reported

      interface A<U,V> {
      void m(U u,V v);
      }

      public interface I<T> extends A<Class<T>,Set<T>> {
      //public void m(Class<T> c, Set<T> z);
      public <Z extends T> void m(Class<Z> c, Set<Z> z);
      }

            mcimadamore Maurizio Cimadamore
            gafter Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: