-
Bug
-
Resolution: Fixed
-
P2
-
None
-
Verified
When a descriptor has an inference variable in its throws clause, the status quo approach will typically infer that variable to be its upper bound (such as Exception). It would be better to identify a lower bound from the lambda body, and in the absence of any thrown exception types, choose RuntimeException.
- relates to
-
JDK-8016199 Lambda Spec: Develop and add rules for resolution of stuck expressions
-
- Closed
-
-
JDK-8012242 Lambda compatibility and checked exceptions
-
- Resolved
-