This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

No errors with uniplemented interface methods


Hello,

I have just made a class implement the Runnable interface but did not actualy
implement the run() method. When I compiled with gcj (2.95) it did not generate
the error stating that the class must be defined abstract because it does not
define the run() method. OTOH javac will generate the error. 

Regards

Lincoln


--
------------------------------------------------------------------------------

Lincoln Spiteri

Manufacturing Systems
STMicroelectronics, Malta

e-mail: lincoln.spiteri@st.com

------------------------------------------------------------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]