From 114f40d7a5a7ee8337471d7299f64a3b9eb4d04e Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 21 Jun 2005 10:06:39 +0000 Subject: [PATCH] generics decp test. --- tests/java5/generics/decp/Basic.aj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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??"); } } -- 2.39.5