jjg@119: /* ohair@554: * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. jjg@119: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. jjg@119: * jjg@119: * This code is free software; you can redistribute it and/or modify it jjg@119: * under the terms of the GNU General Public License version 2 only, as jjg@119: * published by the Free Software Foundation. jjg@119: * jjg@119: * This code is distributed in the hope that it will be useful, but WITHOUT jjg@119: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or jjg@119: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License jjg@119: * version 2 for more details (a copy is included in the LICENSE file that jjg@119: * accompanied this code). jjg@119: * jjg@119: * You should have received a copy of the GNU General Public License version jjg@119: * 2 along with this work; if not, write to the Free Software Foundation, jjg@119: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. jjg@119: * ohair@554: * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ohair@554: * or visit www.oracle.com if you need additional information or have any ohair@554: * questions. jjg@119: */ jjg@119: jjg@119: class A { jjg@119: jjg@119: class A1 { jjg@119: } jjg@119: jjg@119: static class A2 extends B { jjg@119: } jjg@119: jjg@119: static class A3 extends B.Inner { jjg@119: } jjg@119: jjg@119: class A4 { jjg@119: void m1() { jjg@119: class A3m1 { } jjg@119: } jjg@119: jjg@119: void m2() { jjg@119: new B() { jjg@119: }; jjg@119: } jjg@119: } jjg@119: jjg@119: }