mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 00:54:38 +02:00
8010822: Intersection type cast for functional expressions does not follow spec EDR
Remove support for marker interfaces; redefine intersection type casts to be order-independent Reviewed-by: jjg
This commit is contained in:
parent
ea55015155
commit
da9dd76b20
9 changed files with 160 additions and 125 deletions
|
@ -25,7 +25,7 @@
|
|||
* @test
|
||||
* @bug 8002099
|
||||
* @summary Add support for intersection types in cast expression
|
||||
* @compile/fail/ref=Intersection01.out -XDrawDiagnostics Intersection01.java
|
||||
* @compile Intersection01.java
|
||||
*/
|
||||
class Intersection01 {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue