compiler crash with stack overflow on unchecked cast

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 5.0
    • Affects Version/s: 5.0
    • Component/s: tools
    • b51
    • generic
    • solaris_8

      The following program provokes a compiler stack overflow:

      class A<T extends A<T>> {
          <U extends A<U>> void f() {
              A<U> a = (A<U>) this;
          }
      }

            Assignee:
            Neal Gafter (Inactive)
            Reporter:
            Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: