mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-15 08:34:30 +02:00
8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
This commit is contained in:
parent
270fe13182
commit
3789983e89
56923 changed files with 3 additions and 15727 deletions
19
test/langtools/tools/javac/T6231847.java
Normal file
19
test/langtools/tools/javac/T6231847.java
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* @test /nodynamiccopyright/
|
||||
* @bug 6231847
|
||||
* @summary Crash in com.sun.tools.javac.comp.Attr.visitNewClass:1352
|
||||
* @author Peter von der Ah\u00e9
|
||||
* @compile/fail/ref=T6231847.out -XDdev -XDrawDiagnostics T6231847.java
|
||||
*/
|
||||
|
||||
class T6231847 {
|
||||
interface T6231847I {}
|
||||
static class T6231847C {}
|
||||
|
||||
T6231847 t;
|
||||
Object o = new <Object> T6231847I() {};
|
||||
Object p = new T6231847I(o) {};
|
||||
Object q = t.new T6231847I() {};
|
||||
Object r = t.new <Object> T6231847I(o) {};
|
||||
Object s = t.new T6231847C() {};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue