Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 84729 invoked from network); 22 Jul 2007 16:30:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jul 2007 16:30:09 -0000 Received: (qmail 96085 invoked by uid 500); 22 Jul 2007 16:30:09 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 95998 invoked by uid 500); 22 Jul 2007 16:30:09 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 95987 invoked by uid 99); 22 Jul 2007 16:30:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Jul 2007 09:30:09 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of robertburrelldonkin@blueyonder.co.uk designates 195.188.213.7 as permitted sender) Received: from [195.188.213.7] (HELO smtp-out4.blueyonder.co.uk) (195.188.213.7) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Jul 2007 09:30:06 -0700 Received: from [172.23.170.144] (helo=anti-virus03-07) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1ICeJV-000613-Ba for commons-dev@jakarta.apache.org; Sun, 22 Jul 2007 17:29:45 +0100 Received: from [82.38.65.173] (helo=[10.0.0.27]) by asmtp-out6.blueyonder.co.uk with esmtpa (Exim 4.52) id 1ICeJU-0002Dy-Kc for commons-dev@jakarta.apache.org; Sun, 22 Jul 2007 17:29:44 +0100 Subject: Re: [logging] Running tests on earlier JVMs From: Robert Burrell Donkin To: Jakarta Commons Developers List In-Reply-To: <469FC740.4020209@apache.org> References: <468C0CD4.8090503@apache.org> <469F9F99.2050504@apache.org> <31cc37360707191230s3a911bc0vd376ef57ac2a36c4@mail.gmail.com> <469FC740.4020209@apache.org> Content-Type: text/plain Date: Sun, 22 Jul 2007 17:34:59 +0100 Message-Id: <1185122099.5648.11.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org (fetchmail->jsieve->IMAP is now working fine for me in JAMES and i've stopped buggy FETCH response crashing evolution so but i won't have access to my old mail until i've rewritten the backend so that it will perform against big message sets. in short, i think i'm getting commons mail ok but i'm short on archives...) so could people help me get back up to speed on where we are with JCL and were we want to get to...? On Thu, 2007-07-19 at 22:19 +0200, Dennis Lundberg wrote: > Henri Yandell wrote: > >> > Finding a (really old) platform to run on > >> > ========================================= > >> > > >> > We've said earlier that we should ideally run the tests using a 1.2 > >> jvm. > >> > So I installed 1.2.2_17 on my Windows machine and started running > >> tests. > >> > That didn't go to well. Here's what I get: > >> > > >> > > >> > Buildfile: build-testing.xml > >> > A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has > >> > occurred in : > >> > 'org/apache/tools/ant/Project.addReference > >> > (Ljava/lang/String;Ljava/lang/Object;)V': Interpreting method. > >> > Please report this error in detail to > >> > http://java.sun.com/cgi-bin/bugreport.cgi > >> > > >> > A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has > >> > occurred in : > >> > 'org/apache/tools/ant/Project.fireMessageLoggedEvent > >> > (Lorg/apache/tools/ant/BuildEvent;Ljava/lang/String;I)V': Interpreting > >> > method > >> > . > >> > Please report this error in detail to > >> > http://java.sun.com/cgi-bin/bugreport.cgi > >> > > >> > A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has > >> > occurred in : > >> > 'org/apache/tools/ant/ComponentHelper.addCreatedTask > >> > (Ljava/lang/String;Lorg/apache/tools/ant/Task;)V': Interpreting method. > >> > Please report this error in detail to > >> > http://java.sun.com/cgi-bin/bugreport.cgi > >> > > >> > > >> > init: > >> > [echo] -------- Logging Wrapper Library 1.1.1-SNAPSHOT -------- > >> > > >> > discovery: > >> > > >> > log4j12-test-warning: > >> > > >> > test: > >> > [echo] Test output can be found in directory > >> > G:\apache\jakarta\commons-logging/target/test-reports. > >> > [delete] Deleting directory > >> > G:\apache\jakarta\commons-logging\target\test-reports > >> > [mkdir] Created dir: > >> > G:\apache\jakarta\commons-logging\target\test-reports > >> > [echo] executing tests [**/*TestCase.java] > >> > A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has > >> > occurred in : > >> > 'org/apache/tools/ant/ComponentHelper.getDataTypeDefinitions > >> > ()Ljava/util/Hashtable;': Interpreting method. > >> > Please report this error in detail to > >> > http://java.sun.com/cgi-bin/bugreport.cgi > >> > > >> > A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has > >> > occurred in : > >> > 'org/apache/tools/ant/DirectoryScanner.scan ()V': Interpreting > >> method. > >> > Please report this error in detail to > >> > http://java.sun.com/cgi-bin/bugreport.cgi > >> > > >> > A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has > >> > occurred in : > >> > 'org/apache/tools/ant/util/FileUtils.createTempFile > >> > (Ljava/lang/String;Ljava/lang/String;Ljava/io/File;)Ljava/io/File;': > >> > Interpret > >> > ing method. > >> > Please report this error in detail to > >> > http://java.sun.com/cgi-bin/bugreport.cgi > >> > > >> > A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has > >> > occurred in : > >> > 'org/apache/tools/ant/taskdefs/ProcessDestroyer.add > >> > (Ljava/lang/Process;)Z': Interpreting method. > >> > Please report this error in detail to > >> > http://java.sun.com/cgi-bin/bugreport.cgi > >> > > >> > [junit] java.lang.IllegalMonitorStateException: current thread not > >> > owner > >> > [junit] at > >> > org.apache.tools.ant.taskdefs.StreamPumper.run(StreamPumper.java, > >> > Compiled Code) > >> > [junit] at java.lang.Thread.run(Thread.java:479) > >> > [junit] java.lang.IllegalMonitorStateException: current thread not > >> > owner > >> > [junit] at > >> > org.apache.tools.ant.taskdefs.StreamPumper.run(StreamPumper.java, > >> > Compiled Code) > >> > [junit] at java.lang.Thread.run(Thread.java:479) > >> > > >> > > >> > And then it just hangs! This is done using ant 1.6.5. When I tried with > >> > ant 1.5.4 it didn't work at all because we use "propertyset": > >> > > >> > BUILD FAILED > >> > file:G:/apache/jakarta/commons-logging/build-testing.xml:171: > >> Unexpected > >> > element "propertyset" > >> > > >> > I don't know the jvm requirements for the different ant versions. > >> > > >> > > >> > I'll be checking in the ant script shortly... Any pointers to what > >> might > >> > be going wrong here is greatly appreciated. the good news is that my old machine is now working again :-) here's my bad news: JCL source will not compile for me on a 1.2.2 JVM (IIRC some 1.2 JVM had compilers bugs) the tests will not compile for me on 1.3.1 JVM: MockSecurityManager uses Exception.getStackTrace() which was introduced with 1.4 runs well for me on 1.4 - robert --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org