-
Bug
-
Resolution: Fixed
-
P4
-
8, 9
-
b44
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8085297 | emb-9 | Maurizio Cimadamore | P4 | Resolved | Fixed | team |
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.
List<String> ls = id(new ArrayList<String>())
Will fail to detect that the type-argument of the instance creation expression is redundant.
- backported by
-
JDK-8085297 Better support for finder capabilities in target-typing context
-
- Resolved
-
- relates to
-
JDK-8067792 Javac crashes in finder mode with nested implicit lambdas
-
- Closed
-
-
JDK-8067663 Add bugId to tests that have been modified as part of JDK-8064365
-
- Closed
-