commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Burrell Donkin <robertburrelldon...@blueyonder.co.uk>
Subject Re: [logging] Running tests on earlier JVMs
Date Sun, 22 Jul 2007 16:34:59 GMT
(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:

<snip>

> >> > 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


Mime
View raw message