aboutsummaryrefslogtreecommitdiffstats
path: root/weaver/testsrc
diff options
context:
space:
mode:
authoravasseur <avasseur>2005-07-28 10:15:26 +0000
committeravasseur <avasseur>2005-07-28 10:15:26 +0000
commit7b621acacf66dbfa12a1ae2da62e8fcbb2eaa64b (patch)
treebde23fabcfaeecf30fad8f0eeea38e0e292f97c9 /weaver/testsrc
parent878cb1939b40b060387d58044646a953ebc9920b (diff)
downloadaspectj-7b621acacf66dbfa12a1ae2da62e8fcbb2eaa64b.tar.gz
aspectj-7b621acacf66dbfa12a1ae2da62e8fcbb2eaa64b.zip
fix corrupted test failing on Jrockit, fix a ltw doc, ltw include are ORed as per doc
Diffstat (limited to 'weaver/testsrc')
-rw-r--r--weaver/testsrc/org/aspectj/weaver/bcel/WorldTestCase.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/weaver/testsrc/org/aspectj/weaver/bcel/WorldTestCase.java b/weaver/testsrc/org/aspectj/weaver/bcel/WorldTestCase.java
index 83efcc26d..e3cd0e3fa 100644
--- a/weaver/testsrc/org/aspectj/weaver/bcel/WorldTestCase.java
+++ b/weaver/testsrc/org/aspectj/weaver/bcel/WorldTestCase.java
@@ -113,7 +113,9 @@ public class WorldTestCase extends AbstractWorldTestCase {
ResolvedMember clone = iter.lookupMethod(Member.method(UnresolvedType.OBJECT, 0, "clone", "()Ljava/lang/Object;"));
assertNotNull("iterator doesn't have clone" , clone);
- modifiersTest(clone, Modifier.PROTECTED | Modifier.NATIVE);
+ //AV: JRockit Object.clone() is not native.. corrupted test here:
+ //modifiersTest(clone, Modifier.PROTECTED | Modifier.NATIVE);
+ assertTrue("should be protected" + clone.toString(), clone.isProtected());
exceptionsTest(clone, UnresolvedType.forNames(new String[] {"java.lang.CloneNotSupportedException"}));
interfacesTest(iter, ResolvedType.NONE);