langtools/test/tools/javac/options/modes/ProfileTargetTest.java
changeset 40316 20b50a99fe8d
parent 30730 d3ce7619db2c
equal deleted inserted replaced
40315:9e994c77db6a 40316:20b50a99fe8d
     1 /*
     1 /*
     2  * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 2016, 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.
    27  * @summary test support for checking -profile and -target
    27  * @summary test support for checking -profile and -target
    28  * @modules jdk.compiler/com.sun.tools.javac.api
    28  * @modules jdk.compiler/com.sun.tools.javac.api
    29  *          jdk.compiler/com.sun.tools.javac.file
    29  *          jdk.compiler/com.sun.tools.javac.file
    30  *          jdk.compiler/com.sun.tools.javac.main
    30  *          jdk.compiler/com.sun.tools.javac.main
    31  *          jdk.compiler/com.sun.tools.javac.util
    31  *          jdk.compiler/com.sun.tools.javac.util
    32  * @build Tester
    32  * @build OptionModesTester
    33  * @run main ProfileTargetTest
    33  * @run main ProfileTargetTest
    34  */
    34  */
    35 
    35 
    36 import com.sun.tools.javac.main.Main;
    36 import com.sun.tools.javac.main.Main;
    37 import java.io.IOException;
    37 import java.io.IOException;
    38 
    38 
    39 public class ProfileTargetTest extends Tester {
    39 public class ProfileTargetTest extends OptionModesTester {
    40     public static void main(String... args) throws Exception {
    40     public static void main(String... args) throws Exception {
    41         ProfileTargetTest t = new ProfileTargetTest();
    41         ProfileTargetTest t = new ProfileTargetTest();
    42         t.runTests();
    42         t.runTests();
    43     }
    43     }
    44 
    44