[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [aspectj-users] Failure in RunTheseBeforeYouCommitTests.java
|
- From: "Andy Clement" <andrew.clement@xxxxxxxxx>
- Date: Wed, 28 Nov 2007 11:53:23 +0000
- Delivered-to: aspectj-users@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=BQ2r82yi9ydqOTmm/bfhxEroGItaClZtbdEpG1s/sog=; b=wPE+qgOCq4IkMcgBEQidpnefvyaciNPcymQ4+tlBVHtNN9n+uAU4F34V0ODbXhdC0qEzvHRmPpa8BTAsmjtXy2d/fd1lpn6EE1J9mV+eva/+1FAkBgcekmM7wnJlqFx6y07/wZCNHqteH9GmqwWAt8KbDPojKMpdCI7batbRVn8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AnUbQkZ3WYo8S8BsCdSDtACgniXHCUQp/zVRv8zds2jS81uUa9SBjElu5wyXBTWdBoPzsbX0TzJ6mZt45IHxtNb+g0xg5f5XdHidPdJMX34YsMQfOZRjGy05aDl5C5CXKZotREs9SBJ9FuwnuzRwMbrEgytUxzBpImp/z/eghyM=
Ran clean for me just now, that is on the Mac with a Java5 VM. there
is occasionally one failure relating to timing on the mac
(testAjStateDeleteResourcesInInputDir), I just got the magic 3596/3596
completed OK. What platform are you on, what VM?
A couple of pieces of testcode were missing until this morning - sync
now and retry.
Andy.
On 28/11/2007, Marco Poggi <marco.poggi@xxxxxxxxx> wrote:
> Hi,
> I have followed the instruction at
>
> http://www.eclipse.org/aspectj/doc/released/faq.php#q:buildingsource
>
> and ran RunTheseBeforeYouCommitTests.java but It finished with this
> failure:
>
> junit.framework.AssertionFailedError: Expecting
> java.lang.NoClassDefFoundError but caught
> org.aspectj.bridge.AbortException: trouble in:
> public class LTWHelloWorld extends java.util.ArrayList:
> private String message
> private static final org.aspectj.lang.JoinPoint$StaticPart ajc$tjp_0
> [Synthetic]
> public void <init>():
> ALOAD_0 // LLTWHelloWorld; this (line 5)
> INVOKESPECIAL java.util.ArrayList.<init> ()V
> constructor-execution(void LTWHelloWorld.<init>())
> | ALOAD_0 // LLTWHelloWorld; this (line 7)
> | LDC "Hello World!"
> | PUTFIELD LTWHelloWorld.message Ljava/lang/String;
> | RETURN (line 5)
> constructor-execution(void LTWHelloWorld.<init>())
> end public void <init>()
>
> public void println()
> org.aspectj.weaver.MethodDeclarationLineNumber: 9:197
> :
> method-execution(void LTWHelloWorld.println())
> | GETSTATIC java.lang.System.out
> Ljava/io/PrintStream; (line 10)
> | ALOAD_0 // LLTWHelloWorld; this
> | GETFIELD LTWHelloWorld.message Ljava/lang/String;
> | INVOKEVIRTUAL java.io.PrintStream.println
> (Ljava/lang/String;)V
> | RETURN (line 11)
> method-execution(void LTWHelloWorld.println())
> end public void println()
>
> public static void main(String[])
> org.aspectj.weaver.MethodDeclarationLineNumber: 13:269
> :
> NEW LTWHelloWorld (line 14)
> DUP
> INVOKESPECIAL LTWHelloWorld.<init> ()V
> ASTORE_1
> ALOAD_1 // LLTWHelloWorld; hw (line 15)
> INVOKEVIRTUAL LTWHelloWorld.println ()V
> ICONST_0 (line 16)
> ISTORE_2
> GOTO L2
> L0: ALOAD_0 // [Ljava/lang/String; args (line 17)
> ILOAD_2 // I i
> AALOAD
> ASTORE_3
> ALOAD_1 // LLTWHelloWorld; hw (line 18)
> ALOAD_3 // Ljava/lang/String; jp
> INVOKEVIRTUAL LTWHelloWorld.contains
> (Ljava/lang/Object;)Z
> IFNE L1
> NEW java.lang.RuntimeException (line 19)
> DUP
> NEW java.lang.StringBuffer
> DUP
> ALOAD_3 // Ljava/lang/String; jp
> INVOKESTATIC java.lang.String.valueOf
> (Ljava/lang/Object;)Ljava/lang/String;
> INVOKESPECIAL java.lang.StringBuffer.<init>
> (Ljava/lang/String;)V
> LDC " missing"
> INVOKEVIRTUAL java.lang.StringBuffer.append
> (Ljava/lang/String;)Ljava/lang/StringBuffer;
> INVOKEVIRTUAL java.lang.StringBuffer.toString
> ()Ljava/lang/String;
> INVOKESPECIAL java.lang.RuntimeException.<init>
> (Ljava/lang/String;)V
> ATHROW
> L1: IINC 2 1 // I i (line 16)
> L2: ILOAD_2 // I i
> ALOAD_0 // [Ljava/lang/String; args
> ARRAYLENGTH
> IF_ICMPLT L0
> RETURN (line 22)
> end public static void main(String[])
>
> end public class LTWHelloWorld
>
> at junit.framework.Assert.fail(Assert.java:47)
> at
> org.aspectj.weaver.loadtime.WeavingURLClassLoaderTest.testIncompletePath(WeavingURLClassLoaderTest.java:356)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at
> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
> at
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
>
>
> Someone can help me?
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>