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

Re: WARNING while doing OPP



On Fri, 07 Apr 2000, Mahesh Halyal wrote:
> Hello,
> 
> I have class and interface by name incad.part.ozone.ozoneSave
> and incad.part.ozone.ozoneSaveI respectively. I am able
> to compile these files without any problem. But when I try to
> do OPP on ozoneSaveI, I get the following warning message :
> 
> incad.part.ozone.ozoneSaveI:
>    update methods:
> ozoneSave.java:0: warning: Unable to open source file.
> 
> 
> I would like to know whether this warning could cause any problem ?

OPP tries to read the interface source file to determine update methods. One
way to mark update methods is to add /*update*/ comment to the interface file.
If OPP doesn't find the interface source file, it cannot check for the comments
and so your program may not behve as expected. Do you use comments or the class
descriptor to mark update methods?


Falko
-- 
______________________________________________________________________
Falko Braeutigam                         mailto:falko@softwarebuero.de
softwarebuero m&b (SMB)                    http://www.softwarebuero.de