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

Better support for finder capabilities in target-typing context

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 8, 9
    • tools
    • b44
    • Verified

        The current 'finder' features (find diamond, find lambda) is broken w.r.t. target-typing. Code such as this:

        List<String> ls = id(new ArrayList<String>())

        Will fail to detect that the type-argument of the instance creation expression is redundant.

              mcimadamore Maurizio Cimadamore
              mcimadamore Maurizio Cimadamore
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: