Rare4.java revision 553:9d9f26857129
1178825Sdfr/* 2233294Sstas * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. 3233294Sstas * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4233294Sstas * 5178825Sdfr * This code is free software; you can redistribute it and/or modify it 6233294Sstas * under the terms of the GNU General Public License version 2 only, as 7233294Sstas * published by the Free Software Foundation. 8233294Sstas * 9178825Sdfr * This code is distributed in the hope that it will be useful, but WITHOUT 10233294Sstas * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11233294Sstas * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12178825Sdfr * version 2 for more details (a copy is included in the LICENSE file that 13233294Sstas * accompanied this code). 14233294Sstas * 15233294Sstas * You should have received a copy of the GNU General Public License version 16178825Sdfr * 2 along with this work; if not, write to the Free Software Foundation, 17233294Sstas * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18233294Sstas * 19233294Sstas * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20178825Sdfr * or visit www.oracle.com if you need additional information or have any 21233294Sstas * questions. 22233294Sstas */ 23233294Sstas 24233294Sstas/* 25233294Sstas * @test 26233294Sstas * @bug 5024308 27233294Sstas * @summary "rare" types 28233294Sstas * @author gafter 29233294Sstas * 30233294Sstas * @compile/fail Rare4.java 31233294Sstas */ 32178825Sdfr 33178825Sdfrpackage rare4; 34233294Sstas 35178825Sdfrclass A<T> { 36178825Sdfr class B<U> { 37178825Sdfr } 38178825Sdfr static class C<V> { 39178825Sdfr } 40178825Sdfr} 41178825Sdfr 42178825Sdfrclass Main { 43178825Sdfr A<String>.C<String> ac1; 44178825Sdfr} 45178825Sdfr