01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17:
18: package org.apache.harmony.tests.tools.javah;
19:
20: import Test.*;
21:
22: public class Test02 extends Test01 {
23:
24: private static final byte ZZZ_çèìà = 22;
25:
26: private static final byte zzz11 = 2;
27: private static final short zzz12 = 2;
28: private static final int zzz13 = 2;
29: private static final long zzz14 = 2;
30: private static final float zzz15 = 2;
31: private static final double zzz16 = 2.0;
32: private static final boolean zzz17 = true;
33: private static final char zzz18 = '2';
34: private static final int zzz19[] = null;
35: private static final int zzz20[] = { 20 };
36:
37: protected native int zzz2(String v);
38:
39: private native long zzz2(long v);
40:
41: public native String zzz2(boolean v);
42:
43: native void zzz2_zzz2(Thread v, String s[], Class c[], Object o[])
44: throws Exception;
45:
46: native void zzz2_zzz2(Thread v, char c, Class z, String s, Object o)
47: throws Exception;
48:
49: native void zzz2_zzz2(Thread v, char[] c) throws Exception;
50:
51: native void zzz2_zzz2(int[] i, Thread v, char[] c) throws Exception;
52:
53: native Throwable zzz2_zzz2_è_âàñÿ(Throwable[] i, Throwable v,
54: char[] c) throws Exception, IndexOutOfBoundsException;
55:
56: class nested {
57: static final long nested_yes = -2;
58: static final long nested = 2;
59:
60: native void nested2_nested2(boolean v);
61:
62: private native long nested2(long v);
63:
64: public native int nested2(boolean v);
65: }
66: }
|