langtools/test/tools/javac/processing/rounds/CompleteOnClosed.java
changeset 30730 d3ce7619db2c
parent 26100 bb7dd001d190
child 36526 3b41f1c69604
equal deleted inserted replaced
30729:398f0f51917a 30730:d3ce7619db2c
     1 /*
     1 /*
     2  * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 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 8038455
    26  * @bug 8038455
    27  * @summary Ensure that formatting diagnostics with an already closed JavaCompiler won't crash
    27  * @summary Ensure that formatting diagnostics with an already closed JavaCompiler won't crash
    28  *          the compiler.
    28  *          the compiler.
    29  * @library /tools/lib /tools/javac/lib
    29  * @library /tools/lib /tools/javac/lib
       
    30  * @modules jdk.compiler/com.sun.tools.javac.api
       
    31  *          jdk.compiler/com.sun.tools.javac.file
       
    32  *          jdk.compiler/com.sun.tools.javac.main
    30  * @build ToolBox JavacTestingAbstractProcessor
    33  * @build ToolBox JavacTestingAbstractProcessor
    31  * @run main CompleteOnClosed
    34  * @run main CompleteOnClosed
    32  */
    35  */
    33 
    36 
    34 import java.util.*;
    37 import java.util.*;