summaryrefslogtreecommitdiffstats
path: root/weaver/testsrc
diff options
context:
space:
mode:
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);