Tue, 08 Nov 2011 11:51:05 -0800
6921494: provide way to print javac tree tag values
Reviewed-by: jjg, mcimadamore
Contributed-by: vicenterz@yahoo.es
1 /**
2 * @test
3 * @bug 6547131
4 * @summary java.lang.ClassFormatError when using old collection API
5 * @compile T.java
6 * @run main T
7 */
9 import p.*;
11 class SubI implements Outer.I {
12 SubI() { }
13 Outer.I getI() { return this; }
14 }
16 public class T {
17 public static void main(String argv[]){
18 SubI sub = new SubI();
19 Outer.I inter = (Outer.I)sub.getI();
20 }
21 }