Rare10.java revision 288
10145N/A/*
10145N/A * Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
10145N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
10145N/A *
10145N/A * This code is free software; you can redistribute it and/or modify it
10145N/A * under the terms of the GNU General Public License version 2 only, as
10145N/A * published by the Free Software Foundation.
17834N/A *
10145N/A * This code is distributed in the hope that it will be useful, but WITHOUT
10145N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10145N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
10145N/A * version 2 for more details (a copy is included in the LICENSE file that
19122N/A * accompanied this code).
18850N/A *
10145N/A * You should have received a copy of the GNU General Public License version
15373N/A * 2 along with this work; if not, write to the Free Software Foundation,
15373N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
10145N/A *
10145N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
12745N/A * CA 95054 USA or visit www.sun.com if you need additional information or
10145N/A * have any questions.
10145N/A */
20857N/A
10145N/A/*
10145N/A * @test
10145N/A * @bug 5024308
10145N/A * @summary "rare" types
10145N/A * @author gafter
10145N/A *
10145N/A * @compile Rare10.java
10145N/A */
15373N/A
10145N/Apackage rare10;
10145N/A
10145N/Aclass A {
10145N/A class B {
10145N/A Object t;
10145N/A }
10145N/A
10145N/A static class C {
10145N/A {
10145N/A B b = null;
10145N/A b.t = "foo";
10145N/A }
18850N/A }
18850N/A}
15373N/A