langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTool.java
changeset 42498 ceaf5bafa1b5
parent 40308 274367a99f98
equal deleted inserted replaced
42497:b1efbf109ded 42498:ceaf5bafa1b5
    75      * @see #create
    75      * @see #create
    76      */
    76      */
    77     @Deprecated
    77     @Deprecated
    78     public JavacTool() {}
    78     public JavacTool() {}
    79 
    79 
       
    80     // @Override // can't add @Override until bootstrap JDK provides Tool.name()
       
    81     @DefinedBy(Api.COMPILER)
       
    82     public String name() {
       
    83         return "javac";
       
    84     }
       
    85 
    80     /**
    86     /**
    81      * Static factory method for creating new instances of this tool.
    87      * Static factory method for creating new instances of this tool.
    82      * @return new instance of this tool
    88      * @return new instance of this tool
    83      */
    89      */
    84     public static JavacTool create() {
    90     public static JavacTool create() {