langtools/test/tools/javah/4942232/ParamClassTest.java
author alanb
Mon, 15 Nov 2010 14:34:04 +0000
changeset 7187 1ad8f3107d3b
parent 6930 b6fea484cbb2
permissions -rw-r--r--
6999915: TEST_BUG: test/java/nio/channels/AsynchronousSocketChannel/Leaky.java failed intermittently (win) Reviewed-by: forax
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6930
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
     1
/*
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
     2
 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
     4
 *
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
     7
 * published by the Free Software Foundation.
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
     8
 *
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    13
 * accompanied this code).
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    14
 *
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    18
 *
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    21
 * questions.
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    22
 */
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    23
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    24
public class ParamClassTest {
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    25
    static {
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    26
        System.loadLibrary("Test");
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    27
    }
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    28
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    29
    public native void method(Param s);
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    30
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    31
    public static void main(String[] a) {
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    32
    }
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    33
}
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    34
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    35
class Param {
b6fea484cbb2 4942232: missing param class processes without error
jjg
parents:
diff changeset
    36
}