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

Type system undecidable?

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Future Project
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: specification
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: