Details

    • Subcomponent:
    • Resolved In Build:
      b55
    • CPU:
      generic, x86
    • OS:
      generic, linux, solaris_8, windows_2000, windows_xp
    • Verification:
      Verified

      Backports

        Description

        The following cast is legal yet rejected:

        class X {
            static class BB<T, S> { }
            static class BD<T> extends BB<T, T> { }
            void f() {
                BB<? extends Number, ? super Integer> bb = null;
                Object o = (BD<Number>) bb; // <<warn>> <<todo: cast-infer>>
            }
        }

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: