You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CyclicClassInheritance.java 328B

123456789101112
  1. /** @testcase PR#567 no error for cyclic class inheritance if no classes implement the interfaces */
  2. public class CyclicClassInheritance {
  3. public static void main( String args[] ) {
  4. throw new Error("not to be run - error case ");
  5. }
  6. }
  7. class A extends B { A(); void a(){} }
  8. class B extends A { B(); void b(){} }