swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: JDK1.3 vs. Kaffe


From: Tee Toth-Fejel
Subject: RE: JDK1.3 vs. Kaffe
Date: Mon, 13 Nov 2000 16:07:41 -0500

> -----Original Message-----
> From: address@hidden [mailto:address@hidden
> Sent: Saturday, November 11, 2000 3:03 PM
> To: address@hidden
> Subject: Re: JDK1.3 vs. Kaffe
> 
> >>>>> "TTF" == Tee Toth-Fejel <address@hidden> writes:
> 
> TTF> C:\jheatbugs-2.1>javac *.java HeatbugModelSwarm.java:298: cannot
> TTF> resolve symbol symbol : constructor FArgumentsImpl
> TTF> (HeatbugModelSwarm,swarm.Selector,boolean) location: class
> TTF> swarm.defobj.FArgumentsImpl new FArgumentsImpl (this, sel,
> TTF> true))); ^ 1 error
> 
> In recent snapshots of Swarm, the usage of that constructor has
> changed.  Now the third argument should be "Globals.env.LanguageJava"
> instead of "true".  Perhaps your libkaffeswarm.dll and javaswarm.dll
> aren't in sync?

I got them off ftp://ftp.swarm.org/pub/swarm/binaries/w32/2.1.1-fixes/ at
the same time:

 Directory of C:\Swarm-2.1.1\bin

11/08/00  02:45p            10,620,848 libkaffeswarm.dll
11/08/00  02:59p            10,995,943 javaswarm.dll

 Directory of C:\Swarm-2.1.1\share\swarm

11/08/00  02:42p               348,617 swarm.jar

Apparently, I must be using a strange version of Globals.env, 
since JBuilder2 says that the options are: 
FArgumentsImpl()
FArgumentsImpl(Zone p0)
FArgumentsImpl(Zone p0, Selector p1)

The documentation at
http://www.santafe.edu/projects/swarm/swarmdocs/refbook-java/swarm/defobj/FA
rgumentsImpl.html says
FArgumentsImpl(Zone aZone, Selector aSel, boolean javaFlag) 

So I extracted FArgumentsImpl from my swarm.jar

10/01/00  12:27p                 1,930 FArgumentsImpl.class

I tried to run javap on it, and got:

C:\Swarm-2.1.1\swarm\defobj>javap -verbose FArgumentsImpl
Error: Binary file 'FArgumentsImpl'  contains swarm.defobj.FArgumentsImpl

What kind of error is that?
Of course it contains FArgumentsImpl.  It's supposed to!

The javap example at
http://java.sun.com/products/jdk/1.1/docs/tooldocs/solaris/javap.html
works fine.  So much for javap.  Or is that happening because of the
objective C?

So I tried strings, and found:

...swarm/defobj/FArgumentsCImpl
(Lswarm/defobj/FArguments;)V
7(Lswarm/defobj/Zone;Lswarm/Selector;)Ljava/lang/Object;
...

So is it the correct version?

I even looked at the source code in swarm-2000-10-01.tar.gz but the closest
file: FArguments.m and .c did not seem helpful (maybe I don't know what I'm
looking for).

Tihamer "Tee" Toth-Fejel                    Member of Technical Staff
(734) 623-2544   address@hidden      http://www.erim.org/ 
Center for Electronic Commerce, Environmental Research Institute of Michigan
> 

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]