langtools/test/tools/javac/6402516/CheckIsAccessible.java
changeset 30730 d3ce7619db2c
parent 5520 86e4b9a9da40
equal deleted inserted replaced
30729:398f0f51917a 30730:d3ce7619db2c
     1 /*
     1 /*
     2  * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2006, 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.
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 6402516
    26  * @bug 6402516
    27  * @summary need Trees.getScope(TreePath)
    27  * @summary need Trees.getScope(TreePath)
       
    28  * @modules jdk.compiler/com.sun.tools.javac.api
       
    29  *          jdk.compiler/com.sun.tools.javac.comp
       
    30  *          jdk.compiler/com.sun.tools.javac.file
       
    31  *          jdk.compiler/com.sun.tools.javac.tree
       
    32  *          jdk.compiler/com.sun.tools.javac.util
    28  * @build Checker CheckIsAccessible
    33  * @build Checker CheckIsAccessible
    29  * @run main CheckIsAccessible
    34  * @run main CheckIsAccessible
    30  */
    35  */
    31 
    36 
    32 import java.util.*;
    37 import java.util.*;