diff options
author | avasseur <avasseur> | 2005-07-28 10:15:26 +0000 |
---|---|---|
committer | avasseur <avasseur> | 2005-07-28 10:15:26 +0000 |
commit | 7b621acacf66dbfa12a1ae2da62e8fcbb2eaa64b (patch) | |
tree | bde23fabcfaeecf30fad8f0eeea38e0e292f97c9 /weaver/testsrc | |
parent | 878cb1939b40b060387d58044646a953ebc9920b (diff) | |
download | aspectj-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.java | 4 |
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); |