langtools/test/tools/javac/processing/model/util/elements/TestIsFunctionalInterface.java
changeset 30730 d3ce7619db2c
parent 15714 d9a83ab62853
equal deleted inserted replaced
30729:398f0f51917a 30730:d3ce7619db2c
     1 /*
     1 /*
     2  * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2013, 2015, 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.
    25  * @test
    25  * @test
    26  * @bug 8007574
    26  * @bug 8007574
    27  * @summary Test Elements.isFunctionalInterface
    27  * @summary Test Elements.isFunctionalInterface
    28  * @author  Joseph D. Darcy
    28  * @author  Joseph D. Darcy
    29  * @library /tools/javac/lib
    29  * @library /tools/javac/lib
       
    30  * @modules java.compiler
       
    31  *          jdk.compiler
    30  * @build   JavacTestingAbstractProcessor TestIsFunctionalInterface
    32  * @build   JavacTestingAbstractProcessor TestIsFunctionalInterface
    31  * @compile -processor TestIsFunctionalInterface TestIsFunctionalInterface.java
    33  * @compile -processor TestIsFunctionalInterface TestIsFunctionalInterface.java
    32  */
    34  */
    33 
    35 
    34 import java.util.Set;
    36 import java.util.Set;