summaryrefslogtreecommitdiffstats
path: root/weaver/testsrc
diff options
context:
space:
mode:
authoraclement <aclement>2009-11-17 18:36:45 +0000
committeraclement <aclement>2009-11-17 18:36:45 +0000
commit82fd550e46bbe27c379377e6946c5303fd063c94 (patch)
tree3fe47efc494efa4ae96b37f31de9d03ef1425f94 /weaver/testsrc
parenteaa88f50674240d63390bf1525abfc1c305175b1 (diff)
downloadaspectj-82fd550e46bbe27c379377e6946c5303fd063c94.tar.gz
aspectj-82fd550e46bbe27c379377e6946c5303fd063c94.zip
avoid using helpers on Member hierarchy
Diffstat (limited to 'weaver/testsrc')
-rw-r--r--weaver/testsrc/org/aspectj/weaver/bcel/WorldTestCase.java2
1 files changed, 1 insertions, 1 deletions
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);