Bug#351076: ant: Java illegalAccess exception with the kaffee
compiled version
Frohner Akos
Akos.Frohner at cern.ch
Thu Feb 2 16:28:27 UTC 2006
Package: ant
Version: 1.6.5-4
Severity: grave
Justification: renders package unusable
The example build.xml file reports the following error with 1.6.5-4,
1.6.5-5, but worked up to 1.6.5-3 (explicitly checked with 1.6.2):
build.xml:3: java.lang.IllegalAccessError: tried to access field org.apache.tools.ant.taskdefs.Concat.fileUtils from class org.apache.tools.ant.taskdefs.Concat$TextElement
<project default="concattest">
<target name="concattest">
<concat>
<header>shall work</header>
<fileset file="build.xml"/>
</concat>
<concat>
<header file="build.xml"/>
<fileset file="build.xml"/>
</concat>
</target>
</project>
The only difference, according to the changelog, is that from
1.6.5-4 ant is compiled with kaffee.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (900, 'testing'), (800, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages ant depends on:
ii java-virtual-machine-dummy [j 1.0 Dummy package providing java-virtu
ii java1-runtime-dummy [java1-ru 1.0 Dummy package providing java1-runt
ii java2-runtime-dummy [java2-ru 1.0 Dummy package providing java2-runt
ii libxerces2-java 2.6.2-3 Validating XML parser for Java wit
ii sun-j2sdk1.4 [java2-runtime] 1.4.2+08 Java(TM) 2 SDK, Standard Edition,
Versions of packages ant recommends:
pn ant-optional <none> (no description available)
ii java-compiler-dummy [java-com 1.0 Dummy package providing java-compi
ii sun-j2sdk1.4 [java-compiler] 1.4.2+08 Java(TM) 2 SDK, Standard Edition,
-- no debconf information
More information about the pkg-java-maintainers
mailing list