Bug#351076: ant: Java illegalAccess exception with the kaffee compiled version

2006-02-07 Thread Arnaud Vandyck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

FROHNER Akos wrote:
 Hi Wolfgang,
 
 On Thu, 2006-02-02 18:06:34 +0100, Wolfgang Baer wrote:
 
Frohner Akos wrote:


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

Have you explicitly checked with 1.6.5-3 ?
Checking with 1.6.2 does not mean it worked up to 1.6.5-3.
 
 
 I am using ant daily and upgraded almost daily, with the 
 apt-listchanges functionality, so I remember seeing the
 change message and the upgrade happening. But you are right,
 I did not check with 1.6.5-3 _after_ I discovered the bug in
 1.6.5-4, because 1.6.5-3 was not available on any mirrors.

http://snapshot.debian.net/archive/2005/10/02/debian/pool/main/a/ant/

- --
  .''`.
 : :' :rnaud
 `. `'
   `-
Java Trap: http://www.gnu.org/philosophy/java-trap.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD6GCw4vzFZu62tMIRArBvAJ9NAzMuoVA8eWQ++VKU0dEBNsrdwACeNmwz
CxtUfTtofx/ZvCbDHlbTx10=
=VzXP
-END PGP SIGNATURE-


___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Bug#351076: ant: Java illegalAccess exception with the kaffee compiled version

2006-02-07 Thread FROHNER Akos
On Tue, 2006-02-07 09:56:16 +0100, Arnaud Vandyck wrote:
 http://snapshot.debian.net/archive/2005/10/02/debian/pool/main/a/ant/

Thanks!

1.6.2-2 works

1.6.5-3 works

1.6.5-4 fails:
build.xml:7: java.lang.IllegalAccessError: tried to access field
org.apache.tools.ant.taskdefs.Concat.fileUtils from class
org.apache.tools.ant.taskdefs.Concat$TextElement

1.6.5-5 fails:
build.xml:7: java.lang.IllegalAccessError: tried to access field
org.apache.tools.ant.taskdefs.Concat.fileUtils from class
org.apache.tools.ant.taskdefs.Concat$TextElement

I have used the build.xml file in the bug report to test it.

Cheers,
Akos


smime.p7s
Description: S/MIME cryptographic signature
___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Bug#351076: ant: Java illegalAccess exception with the kaffee compiled version

2006-02-07 Thread Wolfgang Baer
Hi,

FROHNER Akos wrote:
 On Tue, 2006-02-07 09:56:16 +0100, Arnaud Vandyck wrote:
 
http://snapshot.debian.net/archive/2005/10/02/debian/pool/main/a/ant/
 
 
 Thanks!
 
 1.6.2-2 works
 
 1.6.5-3 works

Build with jikes
 
 1.6.5-4 fails:
 build.xml:7: java.lang.IllegalAccessError: tried to access field
 org.apache.tools.ant.taskdefs.Concat.fileUtils from class
 org.apache.tools.ant.taskdefs.Concat$TextElement
 
 1.6.5-5 fails:
 build.xml:7: java.lang.IllegalAccessError: tried to access field
 org.apache.tools.ant.taskdefs.Concat.fileUtils from class
 org.apache.tools.ant.taskdefs.Concat$TextElement

Both build with ecj

Thanks for testing. So it really looks like ecj produces wrong bytecode
here. I will retry with ecj 3.1.2 (fixed some compiler stuff) as I think
ecj at the time of the ant build was 3.1.1.

Wolfgang


___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Bug#351076: ant: Java illegalAccess exception with the kaffee compiled version

2006-02-03 Thread FROHNER Akos
Hi Wolfgang,

On Thu, 2006-02-02 18:06:34 +0100, Wolfgang Baer wrote:
 Frohner Akos wrote:
 
  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):
 
 Have you explicitly checked with 1.6.5-3 ?
 Checking with 1.6.2 does not mean it worked up to 1.6.5-3.

I am using ant daily and upgraded almost daily, with the 
apt-listchanges functionality, so I remember seeing the
change message and the upgrade happening. But you are right,
I did not check with 1.6.5-3 _after_ I discovered the bug in
1.6.5-4, because 1.6.5-3 was not available on any mirrors.

[...]
 Maybe ecj produces for this special case wrong bytecode. This needs to be
 investigated. I will rebuild with jikes to see what happens.

Thanks!

Cheers,
Akos

-- 
FROHNER Ákos/GD/IT/CERN -- http://cern.ch/egee-jra1-dm/


smime.p7s
Description: S/MIME cryptographic signature
___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Bug#351076: ant: Java illegalAccess exception with the kaffee compiled version

2006-02-02 Thread Wolfgang Baer
severity 351076 normal
thanks


Hi Akos,

this is not grave if it fails for one type of build file, therefore
lowered severity to normal. ant is used here in almost all the package builds
and no build failed because of the new upload.

Frohner Akos wrote:

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

Have you explicitly checked with 1.6.5-3 ?
Checking with 1.6.2 does not mean it worked up to 1.6.5-3.

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

The difference is its compiled with ecj - it was already compiled with kaffe
a longer time (just with jikes).

Maybe ecj produces for this special case wrong bytecode. This needs to be
investigated. I will rebuild with jikes to see what happens.

Wolfgang


___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers