Hi,

Would Tal clear this up, please? I'm intrigued.

I feel like everyone else understood that you want to know if you changed
the interface of your own class while I read your question that you want to
know if the new version of the class depends on new external code.
Who's right?

Thanks,

--Amos

Tzahi Fadida wrote:

maybe i don't understand, why do you need to do this?
usualy you use the interface mechanism for this.
i.e:
create an interface that this class should implement and make sure
your internal java files know about this interface. and u'd never have to worry about 
it.
if you both use/implement the same interface then it has to comply, else it wouldn't 
comply. just make sure you put the interface in a seperate java file and that you both 
use it.

* - * - *
Tzahi Fadida
MSc Student
Information System Engineering Area
Faculty of Industrial Engineering & Management
Technion - Israel Institute of Technology
Technion City, Haifa, Israel 32000
Email [EMAIL PROTECTED]
Technion Email: [EMAIL PROTECTED]
* - * - * - * - * - * - * - * - * - *

WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Tal Achituv
Sent: Wednesday, August 13, 2003 6:05 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [OT] Java linkage


I'm looking for a solution for internal affairs :-) not with clients...


we do that class changing thing allot here, and looking for a way to resolve
this "dependency" issue.. I have the sources.. no need to decompile...

Is there a tool that supports this advanced "versioning" issue?

Thanks,
Tal.

-----Original Message-----
From: Ron Gidron [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 6:51 PM
To: 'Tal Achituv'
Cc: [EMAIL PROTECTED]
Subject: RE: [OT] Java linkage


Well,


I hope you guys don't use an obfuscator :-)
What I would do is first check CVS (or whatever you use) and see what
changes were made in the class. If you find that these changes are to
dramatic then you can get the class from the clients application, decompile
it (google java decompiler) fix the code, recompile and send them the fixed
class. Ugly yes! But it should work.

Be good.
Ron

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Tal Achituv
Sent: Wednesday, August 13, 2003 5:14 PM
To: 'Ron Gidron'
Cc: '[EMAIL PROTECTED]'
Subject: RE: [OT] Java linkage

Yes, When I wrote the mail I was confused myself - as there is no real
"link" in java...

here's the problem:

I have to supply a patch for a software build 18, and am currently working
on build 22 of the same software.

I wonder if I can just give them the class from the b22 and put it instead
the patch requiring class of the b18...

Now I need to wait until runtime to see if this class really fits... :-)

seems like I'm not the first to hit this problem... as in the C world you
simply "link"...

(I know the class from b22 compiles... I don't know if it "links" with all
the others correctly... [lets say a method signature changed])...

Do you know if there is a "solution" in the industry??

Tal.

-----Original Message-----
From: Ron Gidron [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 6:04 PM
To: 'Tal Achituv'
Subject: RE: [OT] Java linkage


How do you mean **links**? AFAIK Class files are independent and are executed as such by the JVM, There is no traditional linkage done in Java and there is no linker. The JVM is responsible to download all the referred classes that you class refers to AT RUNTIME...

I hope I understood the question well, please feel free to ask again or
elaborate your previous question.

Regards
Ron


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Tal Achituv
Sent: Wednesday, August 13, 2003 4:00 PM
To: '[EMAIL PROTECTED]'
Subject: [OT] Java linkage

Hi all

Is there a tool / method to check if a compiles java object (class) links
correctly?

Any thoughts?

Thanks,
Tal Achituv.

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]








To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]



---------- Your email is protected by Mailshell ---------- To block spam or change delivery options: http://www.mailshell.com/control.html?a=blshp8bbumg87yq1j9157qv2pz6_58z35eg0

Wouldn't you rather have amos-sha.com as your personal domain? http://rd.mailshell.com/ad465
Earn up to $3 for each of your friends who signs up with Mailshell! http://rd.mailshell.com/sp5




=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to