00001 /*! 00002 * @file MainArgs.java 00003 * 00004 * @brief Test class for checking args[] array parameter to main() 00005 * 00006 * 00007 * @section Control 00008 * 00009 * \$URL: https://svn.apache.org/path/name/MainArgs.java $ \$Id: MainArgs.java 0 09/28/2005 dlydick $ 00010 * 00011 * Copyright 2005 The Apache Software Foundation 00012 * or its licensors, as applicable. 00013 * 00014 * Licensed under the Apache License, Version 2.0 ("the License"); 00015 * you may not use this file except in compliance with the License. 00016 * You may obtain a copy of the License at 00017 * 00018 * http://www.apache.org/licenses/LICENSE-2.0 00019 * 00020 * Unless required by applicable law or agreed to in writing, 00021 * software distributed under the License is distributed on an 00022 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 00023 * either express or implied. 00024 * 00025 * See the License for the specific language governing permissions 00026 * and limitations under the License. 00027 * 00028 * @version \$LastChangedRevision: 0 $ 00029 * 00030 * @date \$LastChangedDate: 09/28/2005 $ 00031 * 00032 * @author \$LastChangedBy: dlydick $ 00033 * Original code contributed by Daniel Lydick on 09/28/2005. 00034 * 00035 * @section Reference 00036 * 00037 */ 00038 00039 package harmony.bootjvm.test; 00040 00041 /*! 00042 * @brief Test ability of main() to recognize args[] array. 00043 * 00044 */ 00045 public class MainArgs 00046 { 00047 00048 public static void main(String[] args) 00049 { 00050 System.out.println("args[0] = /" + args[0] + 00051 "/ args[1] = /" + args[1] + 00052 "/ args[2] = /" + args[2] + 00053 "/ args[3] = /" + args[3]); 00054 System.exit(3); 00055 } 00056 00057 } /* END of harmony.bootjvm.test.MainArgs */ 00058 00059 00060 /* EOF */ 00061