2010-02-24 02:43:02 +00:00
|
|
|
/*
|
2015-01-09 06:01:20 +00:00
|
|
|
* @test /nodynamiccopyright/
|
2010-02-24 02:43:02 +00:00
|
|
|
* @bug 6511613
|
|
|
|
* @summary javac unexpectedly doesn't fail in some cases if an annotation processor specified
|
2012-12-21 16:45:43 +00:00
|
|
|
* @library /tools/javac/lib
|
2015-05-21 18:41:04 +00:00
|
|
|
* @modules java.compiler
|
|
|
|
* jdk.compiler
|
2010-09-30 06:27:57 +00:00
|
|
|
* @build JavacTestingAbstractProcessor DummyProcessor
|
2015-01-09 06:01:20 +00:00
|
|
|
* @compile/fail/ref=clss41701.out -XDrawDiagnostics clss41701.java
|
|
|
|
* @compile/fail/ref=clss41701.out -XDrawDiagnostics -processor DummyProcessor clss41701.java
|
2010-02-24 02:43:02 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
import java.io.PrintStream;
|
|
|
|
|
|
|
|
interface clss41701i {
|
|
|
|
void run();
|
|
|
|
}
|
|
|
|
|
|
|
|
class clss41701a<A extends clss41701i,
|
|
|
|
B extends clss41701i,
|
|
|
|
C extends A&B> {
|
|
|
|
}
|