summaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr102357.java
blob: 0c20910da4c856d1a718ff646c9607c47100c02c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
interface Generic<T> {
  void non_generic(String i);
  void generic(T t);
}

public class pr102357 implements Generic<String> {
  public static void main(String[] args) {
    new pr102357().non_generic("works");
    new pr102357().generic("works");

    Generic<String> generic = new pr102357();
    generic.non_generic("works");
    generic.generic("AbstractMethodError");
  }
}

aspect Injector {
  public void pr102357.non_generic(String s) {}
  public void pr102357.generic(String s) {}
}