2010-12-03 16:32:31 +00:00
|
|
|
/*
|
|
|
|
* @test /nodynamiccopyright/
|
2014-12-16 13:44:22 +00:00
|
|
|
* @bug 7002837 8064365
|
2010-12-03 16:32:31 +00:00
|
|
|
*
|
|
|
|
* @summary Diamond: javac generates diamond inference errors when in 'finder' mode
|
|
|
|
* @author mcimadamore
|
2014-12-12 18:07:24 +00:00
|
|
|
* @compile/fail/ref=T7002837.out -Werror -XDrawDiagnostics -XDfind=diamond T7002837.java
|
2010-12-03 16:32:31 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
class T7002837<X extends java.io.Serializable & Comparable<?>> {
|
|
|
|
T7002837() {}
|
|
|
|
{ new T7002837<Integer>(); }
|
|
|
|
}
|