You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Jonathan Rasmusson <jr...@servidium.com> on 2000/07/24 16:16:31 UTC

IncompatibleClassChangeError

Hello,

I was wondering if anyone has come across a :

java.lang.IncompatibleChangeError

when running a class after it has been compiled by Ant.

I am using jdk1.3, modern, and the class I am running
after compilation are my JUnit tests cases.

I noticed also that the class produced from Ant is
different then the one produced when I compile from the
command line.

When I reverse compiled the two (seemingly identical classes)
I noticed that there were slightly different.  One had better variable
names, while the other had optimized names (very short).

I was wondering if someone could explain how I would see two
different generated classes files from compiling on the command
line and compiling using Ant.

I checked the email archives and could not find any mention of this.

Thx

Jonathan