Thu, 07 Jun 2012 20:30:57 -0700
7170079: Adjustments to build-infra makefiles
Reviewed-by: ohair, ohrstrom, ihse, jonas
Contributed-by: jonas <jonas.oreland@oracle.com>, erikj <erik.joelsson@oracle.com>, ihse <magnus.ihse.bursie@oracle.com>, tgranat <torbjorn.granat@oracle.com>, ykantser <yekaterina.kantserova@oracle.com>
duke@1 | 1 | /* |
duke@1 | 2 | * @test /nodynamiccopyright/ |
duke@1 | 3 | * @bug 6231847 |
duke@1 | 4 | * @summary Crash in com.sun.tools.javac.comp.Attr.visitNewClass:1352 |
duke@1 | 5 | * @author Peter von der Ah\u00e9 |
duke@1 | 6 | * @compile/fail -XDdev T6231847.java |
jjg@611 | 7 | * @compile/fail/ref=T6231847.out -XDdev -XDrawDiagnostics T6231847.java |
duke@1 | 8 | */ |
duke@1 | 9 | |
duke@1 | 10 | class T6231847 { |
duke@1 | 11 | interface T6231847I {} |
duke@1 | 12 | static class T6231847C {} |
duke@1 | 13 | |
duke@1 | 14 | T6231847 t; |
duke@1 | 15 | Object o = new <Object> T6231847I() {}; |
duke@1 | 16 | Object p = new T6231847I(o) {}; |
duke@1 | 17 | Object q = t.new T6231847I() {}; |
duke@1 | 18 | Object r = t.new <Object> T6231847I(o) {}; |
duke@1 | 19 | Object s = t.new T6231847C() {}; |
duke@1 | 20 | } |