aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs1810/508661/A_yes.java
blob: 9920f069a846feb93793204d4dd0ecdff96e0091 (plain)
1
2
3
4
5
6
7
8
public class A_yes {
  @CacheMethodResult
  public void m() {
    System.out.println("A_yes.m()");
    Class[] itfs = A_yes.class.getInterfaces();
    System.out.println("A_yes has interface? "+((itfs==null||itfs.length==0)?"no":itfs[0].getName()));
  }
}