Hmmmm... that's all I can think of right now. Maybe upgrading the JDK? JDK can also have it's bugs. My conviction is that this is extremely rare, esp. something serious like simply running the compiled code.
I think this may be a Classpath issue, your ant picking up some library from JBuilder when it compiles, but this library is gone/has a different version when the code runs. Something like that. Check your path again, compile manually, run manually by making a short main() method in the problem class to test the function.
Keep us posted.
I have never seen a $$.class -- an anonymous class inside an anonymous class? :-) Maybe some guru can shed some light on this.
Greg
-----Original Message-----
From: Gregory A. Swarthout [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 27, 2003 12:37 PM
To: JDJList
Subject: [jdjlist] RE: How Ant compiles vs. how JBuilder compiles
Greg Nudelman wrote:
> Have you tried just using the javac without the ant to compile that
> class? Does the compiled class do what it's supposed to?
I'll try that.
> Or, another thought -- you may not be re-compiling ALL of the classes
> with Ant, so you got some old class files not-compatible with the new
> class structure. I would remove all the .class files and recompile
> every single one of them from scratch. In general, I always make this a
> part of my Ant build script to remove the old .class files.
Yes, me too. I am already doing this.
Greg
____________________________________________________To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm
Be respectful! Clean up your posts before replying
____________________________________________________
