test/tools/javac/nativeHeaders/javahComparison/TestClass3.java

Sat, 17 Nov 2012 19:01:03 +0000

author
mcimadamore
date
Sat, 17 Nov 2012 19:01:03 +0000
changeset 1415
01c9d4161882
parent 1230
b14d9583ce92
permissions
-rw-r--r--

8003280: Add lambda tests
Summary: Turn on lambda expression, method reference and default method support
Reviewed-by: jjg

jjg@1230 1 /*
jjg@1230 2 * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
jjg@1230 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
jjg@1230 4 *
jjg@1230 5 * This code is free software; you can redistribute it and/or modify it
jjg@1230 6 * under the terms of the GNU General Public License version 2 only, as
jjg@1230 7 * published by the Free Software Foundation.
jjg@1230 8 *
jjg@1230 9 * This code is distributed in the hope that it will be useful, but WITHOUT
jjg@1230 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
jjg@1230 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
jjg@1230 12 * version 2 for more details (a copy is included in the LICENSE file that
jjg@1230 13 * accompanied this code).
jjg@1230 14 *
jjg@1230 15 * You should have received a copy of the GNU General Public License version
jjg@1230 16 * 2 along with this work; if not, write to the Free Software Foundation,
jjg@1230 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
jjg@1230 18 *
jjg@1230 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
jjg@1230 20 * or visit www.oracle.com if you need additional information or have any
jjg@1230 21 * questions.
jjg@1230 22 */
jjg@1230 23
jjg@1230 24 import javax.tools.annotation.GenerateNativeHeader;
jjg@1230 25
jjg@1230 26 @GenerateNativeHeader
jjg@1230 27 public class TestClass3 {
jjg@1230 28 public int tc3;
jjg@1230 29
jjg@1230 30 public class Inner1 {
jjg@1230 31 public int tc3i1;
jjg@1230 32
jjg@1230 33 public class Inner1A {
jjg@1230 34 public int tc3i1i1a;
jjg@1230 35 }
jjg@1230 36
jjg@1230 37 public class Inner1B {
jjg@1230 38 public int tc3i1i1b;
jjg@1230 39 }
jjg@1230 40 }
jjg@1230 41
jjg@1230 42 public class Inner2 {
jjg@1230 43 public int tc321;
jjg@1230 44
jjg@1230 45 public class Inner2A {
jjg@1230 46 public int tc3i2i2a;
jjg@1230 47 }
jjg@1230 48
jjg@1230 49 public class Inner2B {
jjg@1230 50 public int tc3i2i2b;
jjg@1230 51 }
jjg@1230 52 }
jjg@1230 53 }
jjg@1230 54

mercurial