< prev index next >

make/langtools/test/HelloWorld.java

Print this page




  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 // NOTE: The javadoc comments are used by the apt tests.
  27 
  28 /**
  29  * This class is used to test the results of the langtools build.
  30  */
  31 public class HelloWorld
  32 {
  33     /**
  34      * The old standby!
  35      * @param args The parameters are ignored.
  36      */
  37     public static void main(String... args) {
  38         System.out.println("Hello World!");
  39     }
  40 
  41     /**
  42      * This declaration is for the benefit of javah tests.
  43      */
  44     public native void test();
  45 }


  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 // NOTE: The javadoc comments are used by the apt tests.
  27 
  28 /**
  29  * This class is used to test the results of the langtools build.
  30  */
  31 public class HelloWorld
  32 {
  33     /**
  34      * The old standby!
  35      * @param args The parameters are ignored.
  36      */
  37     public static void main(String... args) {
  38         System.out.println("Hello World!");
  39     }





  40 }
< prev index next >