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

Unconstrained type variables fails to include bounds

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b109
    • CPU:
      generic, x86
    • OS:
      generic, windows_xp
    • Verification:
      Verified

      Description

      See https://bugs.eclipse.org/bugs/show_bug.cgi?id=121369

      Javac fails to infer the correct type for this method call

          Foo.foo();

      given this definition of Foo:

      class Foo {
        static <T, U extends java.util.List<T>> void foo() {
          return;
        }
      }

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mcimadamore Maurizio Cimadamore
              Reporter:
              ahe Peter Ahe
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: