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

Code completion not working for lambdas in method invocations that require type inference

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 16
    • 15
    • tools
    • None
    • b16

    Description

      Consider, for example:
      ---
      jshell> <T> void m1(T t, Consumer<T> f) { }
      | created method m1(T,Consumer<T>)

      jshell> m1("", x -> {x.tri
      ---

      Press <tab> after "tri" - this will yield no proposals.

      Attachments

        Issue Links

          Activity

            People

              jlahoda Jan Lahoda
              jlahoda Jan Lahoda
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: