Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] covariant return type question

The aspect below won't compile ('The return type is incompatible') because the aspectj support for java 5 is still incomplete, correct?  Are the current bug tickets for java 5 support (eg 72766) sufficient to cover this, or should I create one?

public aspect ReturnTypeTest {
  private interface Test {
    Object getId();
  }
 
  class StringTest {
    public String getId() {
      return null;
    }
  }
 
  declare parents : StringTest implements Test;
}


Back to the top