summaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/decp
diff options
context:
space:
mode:
authoraclement <aclement>2005-06-21 10:06:39 +0000
committeraclement <aclement>2005-06-21 10:06:39 +0000
commit114f40d7a5a7ee8337471d7299f64a3b9eb4d04e (patch)
treee33cee7e822a18df62f1573fe2139bdf22728588 /tests/java5/generics/decp
parente40620d955448ad3c9e1303952d71d8b50d563ae (diff)
downloadaspectj-114f40d7a5a7ee8337471d7299f64a3b9eb4d04e.tar.gz
aspectj-114f40d7a5a7ee8337471d7299f64a3b9eb4d04e.zip
generics decp test.
Diffstat (limited to 'tests/java5/generics/decp')
-rw-r--r--tests/java5/generics/decp/Basic.aj2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/java5/generics/decp/Basic.aj b/tests/java5/generics/decp/Basic.aj
index dee3872e6..3893e2f17 100644
--- a/tests/java5/generics/decp/Basic.aj
+++ b/tests/java5/generics/decp/Basic.aj
@@ -4,7 +4,7 @@ public class Basic{
public static void main(String[]argv) {
Basic b = new Basic();
- if (b instanceof I) throw new RuntimeException("Should implement I??");
+ if (!(b instanceof I)) throw new RuntimeException("Should implement I??");
}
}