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.

VerifyError2.java 376B

123456789101112131415
  1. package bugs;
  2. class GenericClass<K> {
  3. public void f(K t) {}
  4. }
  5. class ExtendsGenericHasITD extends GenericClass<String> {}
  6. public aspect VerifyError2 {
  7. public void ExtendsGenericHasITD.f(String s) {
  8. super.f(s);
  9. }
  10. public static void main( String[] args ) {
  11. new ExtendsGenericHasITD();
  12. }
  13. }