mirror of
https://github.com/openjdk/jdk.git
synced 2026-08-01 21:55:37 +00:00
Check.checkCompatibleConcretes hang when javac creates synthetic supertypes for 269 model API Reviewed-by: jjg
11 lines
292 B
Java
11 lines
292 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 8016640
|
|
* @summary compiler hangs if the generics arity of a base class is wrong
|
|
* @compile/fail/ref=T8016640.out -XDrawDiagnostics T8016640.java
|
|
*/
|
|
class T8016640 {
|
|
static class Foo<X,Y> { }
|
|
static class BadFoo<T> extends Foo<T> { }
|
|
}
|