ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: JDK 1.2 compatibility
Date Mon, 27 Nov 2006 08:28:55 GMT
Ok, test results:
"build.bat -nouserlib test"
- build:           ok
- compile-tests:   ok      (11 files use or override a deprecated API)

junit-batch:
    [mkdir] Created dir: C:\ant\svn-repository\ant\core\build\testcases\xml
    [junit] Testsuite: org.apache.tools.ant.AntClassLoaderDelegationTest

BUILD FAILED
C:\ant\svn-repository\ant\core\build.xml:1754: The following error occurred while executing
this line:
C:\ant\svn-repository\ant\core\build.xml:1636: java.lang.IllegalMonitorStateException: current
thread not owner


Same error when executing a 2nd time.



Jan

>-----Urspr√ľngliche Nachricht-----
>Von: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
>Gesendet: Montag, 27. November 2006 09:01
>An: dev@ant.apache.org
>Betreff: AW: JDK 1.2 compatibility
>
>I'm doing a test on
>- WinXP SP2
>- Classic VM (build JDK-1.2.1_004, native threads)
>- Revision: 479528 (HEAD at this time ;-)
>- command: build.bat -nouserlib
>  -- bootstrap
>     * bootstrap:         ok   (5 files use or override a 
>deprecated API)
>     * build:             ok   (3 files use or override a 
>deprecated API)
>     BUILD SUCCESSFUL
>     Done Bootstrapping Ant Distribution
>  -- build
>     * build:             ok   (8 files use or override a 
>deprecated API)
>     BUILD SUCCESSFUL
>- dist\bin>.\ant -version
>  Apache Ant version 1.7.0RC1 compiled on November 27 2006
>
>
>We can not assure 1.2-buildability for optional tasks, because 
>we can assure that the 
>external libraries are 1.2-compliant (class-version error).
>
>I'm retrying the testsuite (which needs time on my machine :-( )
>
>
>Jan
>
>
>>-----Urspr√ľngliche Nachricht-----
>>Von: Martijn Kruithof [mailto:jkf@apache.org] 
>>Gesendet: Freitag, 24. November 2006 21:28
>>An: Ant Developers List
>>Betreff: Re: JDK 1.2 compatibility
>>
>>Peter Reilly schreef:
>>> On 11/24/06, Martijn Kruithof <jkf@apache.org> wrote:
>>>> As you might have noticed. about a week ago I wrote about some 
>>>> troubles on jdk 1.3 which by now are fixed. However I 
>>didn't get any 
>>>> reaction on the fact that the official builds do not work 
>>at all for JDK 1.2.
>>> What were the issues (I cannot easily find the email in question)?
>>It completely fails:
>>
>>It seems our release candidate is not nearly compatible with JDK 1.2.2
>>
>>JDK 1.2.2_017 on windows XP home gives:
>>
>>D:\data\eclipseworkspace\ant-trunk>apache-ant-1.7.0RC1\bin\ant test
>>Buildfile: build.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/Objec
>>t;)V': Interpreting method.
>> Please report this error in detail to
>>http://java.sun.com/cgi-bin/bugreport.cg
>>i
>>
>>A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: 
>>Conditional' has occurred in :
>> 'org/apache/tools/ant/Project.fireMessageLoggedEvent
>>(Lorg/apache/tools/ant/Bu
>>ildEvent;Ljava/lang/String;I)V': Interpreting method.
>> Please report this error in detail to
>>http://java.sun.com/cgi-bin/bugreport.cg
>>i
>>
>>A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: 
>>Conditional' has occurred in :
>> 'org/apache/tools/ant/util/FileUtils.fromURI
>>(Ljava/lang/String;)Ljava/lang/St
>>ring;': Interpreting method.
>> Please report this error in detail to
>>http://java.sun.com/cgi-bin/bugreport.cg
>>i
>>
>>A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: 
>>Conditional' has occurred in :
>> 'org/apache/tools/ant/ComponentHelper.addCreatedTask
>>(Ljava/lang/String;Lorg/a
>>pache/tools/ant/Task;)V': Interpreting method.
>> Please report this error in detail to
>>http://java.sun.com/cgi-bin/bugreport.cg
>>i
>>
>>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': I
>>nterpreting method.
>> Please report this error in detail to
>>http://java.sun.com/cgi-bin/bugreport.cg
>>i
>>
>>[property] java.lang.IllegalMonitorStateException: current 
>>thread not owner
>>[property]     at 
>>org.apache.tools.ant.taskdefs.StreamPumper.run(StreamPumper.j
>>ava, Compiled Code)
>>[property]     at java.lang.Thread.run(Thread.java:479)
>>[property] java.lang.IllegalMonitorStateException: current 
>>thread not owner
>>[property]     at 
>>org.apache.tools.ant.taskdefs.StreamPumper.run(StreamPumper.j
>>ava, Compiled Code)
>>[property]     at java.lang.Thread.run(Thread.java:479)
>>
>>I couldn't get jdk 1.2  to run on linux.
>>
>>Martijn
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For 
>>additional commands, e-mail: dev-help@ant.apache.org
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>For additional commands, e-mail: dev-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message