From: aclement Date: Tue, 17 Nov 2009 18:36:45 +0000 (+0000) Subject: avoid using helpers on Member hierarchy X-Git-Tag: V1_6_7~50 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=82fd550e46bbe27c379377e6946c5303fd063c94;p=aspectj.git avoid using helpers on Member hierarchy --- 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);