ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sibon Barman" <>
Subject RE: Antwort: class file size difference between Ant script and JBuilder
Date Tue, 30 Jan 2001 20:16:18 GMT
I used the Sun's 1.3 JDK to compile rather than JBuilder's 1.3 compiler. I
still have the same problem.
Here is the error I get:
java.lang.VerifyError: (class: com/adventnet/nms/mapui/ListFilter, method:
PropAction signature: (Ljava/awt/Event;Ljava/lang/Object;)Z) Incompatible
object argument for function call
	at com.adventnet.nms.mapui.NmsListView.init(
Compiled Code)
	at, Compiled
	at Source)

But the same code compiled with Jbuilder4 works fine. It is driving me nuts.

Sibon Barman
SS8 Networks, Inc.
Suite 500
495 March Road, Kanata,
Ontario K2K 3G1

*: (613)592-2100 ext:3281

-----Original Message-----
From: danch []
Sent: Tuesday, January 30, 2001 10:49 AM
Subject: Re: Antwort: class file size difference between Ant script and
JBuilder wrote:
> Hi,
> JBuilder has its own compiler. When you are compiling from JBuilder IDE,
> it will always use this compiler - it will NOT use the compiler of the
> installed
> JDK (the JDK is just used for running java apps - not for compiling them)
> AFAIK you wont be able to use bjc with ANT, so
> * you can compile within JBuilder IDE (-> bcj)
> * you can compile with ANT and javac - but even when ANT is
>   using the JBuilder JDK - it will not use bjc
> I dont see a solution for your problem, since
> * JBuilder 4 will always recompile classes when they
>   are not compiled with bcj and you try to run them in the IDE
I don't believe this is true. I regularly launch ant builds and pick up
the class files in JBuilder's debugger.

> * ANT wont work with bjc
> I would recommend to get your code running when compiled
> with SUN javac using ant.
> PS: would you mind to send me some of your code that
>   causes problems? I am really surprised to hear that
>   bjc and javac will emit bytecode that shows different
>   behaviour when it is verified.
This is mystifying

> greetings,

View raw message