summaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/decp/Basic.aj
diff options
context:
space:
mode:
Diffstat (limited to 'tests/java5/generics/decp/Basic.aj')
-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??");
}
}