-
Sub-task
-
Resolution: Fixed
-
P3
-
None
-
b68
-
Verified
Allow cast where target type is an intersection type - example:
(C & I1 & I2)foo
As a side-effect, this enables an handy opt-in mechanism for denoting serializable lambdas:
(Serializable & Predicate<String>)s->false;
(C & I1 & I2)foo
As a side-effect, this enables an handy opt-in mechanism for denoting serializable lambdas:
(Serializable & Predicate<String>)s->false;
- relates to
-
JDK-8027730 Fix release-8 type visitors to support intersection types
- Closed
-
JDK-7184414 Lambda support in javax.lang.model
- Resolved