test/tools/javac/enum/T5075242.java
Print this page
*** 25,35 ****
* @test
* @bug 5075242
* @summary Cannot make compound type involving Enums
* @author Peter von der Ah\u00e9
*
! * @compile -source 5 T5075242.java
*/
interface Iface {
<T extends Enum<T> & Iface> void doThis(T e);
}
--- 25,35 ----
* @test
* @bug 5075242
* @summary Cannot make compound type involving Enums
* @author Peter von der Ah\u00e9
*
! * @compile T5075242.java
*/
interface Iface {
<T extends Enum<T> & Iface> void doThis(T e);
}