Authors: russell@unturf.com · brackishbert@gmail.com · foxhop.net · TimeHexOn.com Patches, unit tests, benchmarks, whitepaper, and outreach briefs. Public domain — no copyright claimed. Use freely.
13 lines
345 B
Java
13 lines
345 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 6413682
|
|
* @summary Compiler confused about implicit type args and arrays
|
|
* @compile/fail/ref=T6413682.out -XDrawDiagnostics T6413682.java
|
|
*/
|
|
|
|
public class T6413682 {
|
|
public static void meth() {
|
|
Object[] text = new
|
|
<Wow,thanks.Mr<List>,and.thanks.Mr<Javac>.Vince>Object[5];
|
|
}
|
|
}
|