< prev index next >

test/langtools/tools/javac/launcher/SourceLauncherTest.java

Print this page

 17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 18  *
 19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 20  * or visit www.oracle.com if you need additional information or have any
 21  * questions.
 22  */
 23 
 24 /*
 25  * @test
 26  * @bug 8192920 8204588 8246774 8248843 8268869 8235876 8328339 8335896
 27  * @summary Test source launcher
 28  * @library /tools/lib
 29  * @enablePreview
 30  * @modules jdk.compiler/com.sun.tools.javac.api
 31  *          jdk.compiler/com.sun.tools.javac.launcher
 32  *          jdk.compiler/com.sun.tools.javac.main
 33  *          java.base/jdk.internal.classfile.impl
 34  *          java.base/jdk.internal.module
 35  * @build toolbox.JavaTask toolbox.JavacTask toolbox.TestRunner toolbox.ToolBox
 36  * @run main SourceLauncherTest

 37  */
 38 
 39 import java.lang.classfile.*;
 40 import java.lang.classfile.attribute.ModuleResolutionAttribute;
 41 import java.io.ByteArrayOutputStream;
 42 import java.io.File;
 43 import java.io.IOException;
 44 import java.io.OutputStream;
 45 import java.io.PrintStream;
 46 import java.io.PrintWriter;
 47 import java.io.StringWriter;
 48 import java.lang.reflect.InvocationTargetException;
 49 import java.nio.file.Files;
 50 import java.nio.file.Path;
 51 import java.nio.file.Paths;
 52 import java.util.ArrayList;
 53 import java.util.Collections;
 54 import java.util.List;
 55 import java.util.Properties;
 56 import java.util.regex.Pattern;

 17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 18  *
 19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 20  * or visit www.oracle.com if you need additional information or have any
 21  * questions.
 22  */
 23 
 24 /*
 25  * @test
 26  * @bug 8192920 8204588 8246774 8248843 8268869 8235876 8328339 8335896
 27  * @summary Test source launcher
 28  * @library /tools/lib
 29  * @enablePreview
 30  * @modules jdk.compiler/com.sun.tools.javac.api
 31  *          jdk.compiler/com.sun.tools.javac.launcher
 32  *          jdk.compiler/com.sun.tools.javac.main
 33  *          java.base/jdk.internal.classfile.impl
 34  *          java.base/jdk.internal.module
 35  * @build toolbox.JavaTask toolbox.JavacTask toolbox.TestRunner toolbox.ToolBox
 36  * @run main SourceLauncherTest
 37  * @ignore Verifier error
 38  */
 39 
 40 import java.lang.classfile.*;
 41 import java.lang.classfile.attribute.ModuleResolutionAttribute;
 42 import java.io.ByteArrayOutputStream;
 43 import java.io.File;
 44 import java.io.IOException;
 45 import java.io.OutputStream;
 46 import java.io.PrintStream;
 47 import java.io.PrintWriter;
 48 import java.io.StringWriter;
 49 import java.lang.reflect.InvocationTargetException;
 50 import java.nio.file.Files;
 51 import java.nio.file.Path;
 52 import java.nio.file.Paths;
 53 import java.util.ArrayList;
 54 import java.util.Collections;
 55 import java.util.List;
 56 import java.util.Properties;
 57 import java.util.regex.Pattern;
< prev index next >