xref: /aoo41x/main/stoc/test/javavm/testjavavm.java (revision 489fe5be)
1*489fe5beSAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*489fe5beSAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*489fe5beSAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*489fe5beSAndrew Rist  * distributed with this work for additional information
6*489fe5beSAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*489fe5beSAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*489fe5beSAndrew Rist  * "License"); you may not use this file except in compliance
9*489fe5beSAndrew Rist  * with the License.  You may obtain a copy of the License at
10*489fe5beSAndrew Rist  *
11*489fe5beSAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*489fe5beSAndrew Rist  *
13*489fe5beSAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*489fe5beSAndrew Rist  * software distributed under the License is distributed on an
15*489fe5beSAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*489fe5beSAndrew Rist  * KIND, either express or implied.  See the License for the
17*489fe5beSAndrew Rist  * specific language governing permissions and limitations
18*489fe5beSAndrew Rist  * under the License.
19*489fe5beSAndrew Rist  *
20*489fe5beSAndrew Rist  *************************************************************/
21*489fe5beSAndrew Rist 
22*489fe5beSAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir class TestJavaVM
25cdf0e10cSrcweir {
getInt()26cdf0e10cSrcweir 	public static int getInt()
27cdf0e10cSrcweir 	{
28cdf0e10cSrcweir 		return 100;
29cdf0e10cSrcweir 	}
30cdf0e10cSrcweir 
main( String args[])31cdf0e10cSrcweir 	public static void main( String args[])
32cdf0e10cSrcweir 	{
33cdf0e10cSrcweir 		System.out.println("Hello World");
34cdf0e10cSrcweir 	}
35cdf0e10cSrcweir }
36