|
Java example source code file (T6231847.java)
The T6231847.java Java example source code
/*
* @test /nodynamiccopyright/
* @bug 6231847
* @summary Crash in com.sun.tools.javac.comp.Attr.visitNewClass:1352
* @author Peter von der Ah\u00e9
* @compile/fail -XDdev T6231847.java
* @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() {};
}
Other Java examples (source code examples)Here is a short list of links related to this Java T6231847.java source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.