From 82fd550e46bbe27c379377e6946c5303fd063c94 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 17 Nov 2009 18:36:45 +0000 Subject: [PATCH] avoid using helpers on Member hierarchy --- weaver/testsrc/org/aspectj/weaver/bcel/WorldTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weaver/testsrc/org/aspectj/weaver/bcel/WorldTestCase.java b/weaver/testsrc/org/aspectj/weaver/bcel/WorldTestCase.java index 5816e06b4..e7332b73c 100644 --- a/weaver/testsrc/org/aspectj/weaver/bcel/WorldTestCase.java +++ b/weaver/testsrc/org/aspectj/weaver/bcel/WorldTestCase.java @@ -119,7 +119,7 @@ public class WorldTestCase extends CommonWorldTests { assertNotNull("iterator doesn't have clone", clone); // AV: JRockit Object.clone() is not native.. corrupted test here: // modifiersTest(clone, Modifier.PROTECTED | Modifier.NATIVE); - assertTrue("should be protected" + clone.toString(), clone.isProtected()); + assertTrue("should be protected" + clone.toString(), Modifier.isProtected(clone.getModifiers())); exceptionsTest(clone, UnresolvedType.forNames(new String[] { "java.lang.CloneNotSupportedException" })); interfacesTest(iter, ResolvedType.NONE); -- 2.39.5