Wed, 02 Mar 2011 21:13:55 -0800
6639645: Modeling type implementing missing interfaces
Reviewed-by: darcy, mcimadamore
jjg@904 | 1 | /* |
jjg@904 | 2 | * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
jjg@904 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
jjg@904 | 4 | * |
jjg@904 | 5 | * This code is free software; you can redistribute it and/or modify it |
jjg@904 | 6 | * under the terms of the GNU General Public License version 2 only, as |
jjg@904 | 7 | * published by the Free Software Foundation. |
jjg@904 | 8 | * |
jjg@904 | 9 | * This code is distributed in the hope that it will be useful, but WITHOUT |
jjg@904 | 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
jjg@904 | 11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
jjg@904 | 12 | * version 2 for more details (a copy is included in the LICENSE file that |
jjg@904 | 13 | * accompanied this code). |
jjg@904 | 14 | * |
jjg@904 | 15 | * You should have received a copy of the GNU General Public License version |
jjg@904 | 16 | * 2 along with this work; if not, write to the Free Software Foundation, |
jjg@904 | 17 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
jjg@904 | 18 | * |
jjg@904 | 19 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
jjg@904 | 20 | * or visit www.oracle.com if you need additional information or have any |
jjg@904 | 21 | * questions. |
jjg@904 | 22 | */ |
jjg@904 | 23 | |
jjg@904 | 24 | /* |
jjg@904 | 25 | * @test |
jjg@904 | 26 | * @bug 6639645 |
jjg@904 | 27 | * @summary Modeling type implementing missing interfaces |
jjg@904 | 28 | * @library ../../../../lib |
jjg@904 | 29 | * @clean MissingGenericClass2 |
jjg@904 | 30 | * @build JavacTestingAbstractProcessor Generator |
jjg@904 | 31 | * @compile -XprintRounds -processor Generator TestMissingGenericClass2.java |
jjg@904 | 32 | * @run main TestMissingGenericClass2 |
jjg@904 | 33 | */ |
jjg@904 | 34 | |
jjg@904 | 35 | public class TestMissingGenericClass2 extends MissingGenericClass2<String,Integer> { |
jjg@904 | 36 | public static void main(String... args) { |
jjg@904 | 37 | new TestMissingGenericClass2().run(); |
jjg@904 | 38 | } |
jjg@904 | 39 | } |