diff options
Diffstat (limited to 'tests/bugs160/pr167197/Breaker2.java')
-rw-r--r-- | tests/bugs160/pr167197/Breaker2.java | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/bugs160/pr167197/Breaker2.java b/tests/bugs160/pr167197/Breaker2.java new file mode 100644 index 000000000..cab08767f --- /dev/null +++ b/tests/bugs160/pr167197/Breaker2.java @@ -0,0 +1,33 @@ +import java.util.ArrayList; + +class B1<T> extends ArrayList<T[]> { + public boolean test(T[] obj) { + return false; + } + +} + +public class Breaker2 extends B1<ICounterValue[]> { + private static final long serialVersionUID = 1L; + + public Breaker2() { + } + + public boolean test(ICounterValue[] obj) { + this.size(); + + return false; + } + + public static void main(String[]argv) { + new Breaker2().test(new ICounterValue[]{}); + } +} + +interface ICounterValue { + +} + +aspect X { + before(): call(* *(..)) {} +} |