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

Type system undecidable?

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Future Project
    • Icon: P3 P3
    • 5.0
    • 5.0
    • specification
    • generic
    • generic

      Is this a valid Java program?

      class F<T> {}
      class C<X extends F<F<? super X>>> {
          C(X x) {
              F<? super X> f = x;
          }
      }

      ###@###.### 2004-12-11 00:11:16 GMT

            abuckley Alex Buckley
            ahe Peter Ahe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: