Browse Source

171952: testcode

tags/Root_extensions
aclement 17 years ago
parent
commit
87e59db578
2 changed files with 16 additions and 0 deletions
  1. 6
    0
      tests/bugs160/pr171952/Foo.java
  2. 10
    0
      tests/bugs160/pr171952/FooAspect.java

+ 6
- 0
tests/bugs160/pr171952/Foo.java View File

@@ -0,0 +1,6 @@
import java.util.List;

public interface Foo {

<T> List<T> createList();
}

+ 10
- 0
tests/bugs160/pr171952/FooAspect.java View File

@@ -0,0 +1,10 @@
import java.util.ArrayList;
import java.util.List;

public aspect FooAspect {


public <T> List<T> Foo.createList() {
return new ArrayList<T>();
}
}

Loading…
Cancel
Save