langtools/test/tools/javac/lambda/intersection/IntersectionTargetTypeTest.java
changeset 41639 90220025bd6c
parent 30730 d3ce7619db2c
child 43580 22134ce68814
equal deleted inserted replaced
41638:7b8819e22551 41639:90220025bd6c
     1 /*
     1 /*
     2  * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 8002099 8010822
    26  * @bug 8002099 8010822
    27  * @summary Add support for intersection types in cast expression
    27  * @summary Add support for intersection types in cast expression
    28  * @modules jdk.compiler/com.sun.tools.javac.util
    28  * @modules jdk.compiler/com.sun.tools.javac.util
       
    29  * @run main/othervm IntersectionTargetTypeTest
    29  */
    30  */
    30 
    31 
    31 import com.sun.source.util.JavacTask;
    32 import com.sun.source.util.JavacTask;
    32 import com.sun.tools.javac.util.ListBuffer;
    33 import com.sun.tools.javac.util.ListBuffer;
    33 import java.net.URI;
    34 import java.net.URI;